public class AlertUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Exception |
getException() |
static Exception |
getException(Context ctx) |
static String |
getExceptionMessage(Exception e)
Creates a string message out of an exception.
|
static String |
getMessage()
Returns the currently set message.
|
static String |
getMessage(Context ctx) |
static boolean |
isExceptionSet()
Checks if an exception is set.
|
static boolean |
isExceptionSet(Context ctx) |
static boolean |
isMessageSet()
Checks if a message is set.
|
static boolean |
isMessageSet(Context ctx) |
static void |
setException(Exception e)
Store the exception.
|
static void |
setException(Exception e,
Context ctx) |
static void |
setException(String msg,
Exception e) |
static void |
setException(String msg,
Exception e,
Context ctx) |
static void |
setMessage(String msg)
Store the message.
|
static void |
setMessage(String msg,
Context ctx) |
static void |
setMessage(String msg,
Exception e)
Creates a message containing the exception message.
|
static void |
setMessage(String msg,
Exception e,
Context ctx) |
public static void setMessage(String msg)
public static void setMessage(String msg, Exception e)
public static boolean isMessageSet()
public static boolean isMessageSet(Context ctx)
public static void setException(Exception e)
public static boolean isExceptionSet()
public static boolean isExceptionSet(Context ctx)
public static String getMessage()
public static String getExceptionMessage(Exception e)
public static Exception getException()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.