|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.util.AlertUtil
public class AlertUtil
Stores a message in the request. This message can get alerted from the interface. This is used for example to alert activation errors.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setMessage(String msg)
public static void setMessage(String msg, Context ctx)
public static void setMessage(String msg, Exception e)
public static void setMessage(String msg, Exception e, Context ctx)
public static void setException(String msg, Exception e)
public static void setException(String msg, Exception e, Context ctx)
public static boolean isMessageSet()
public static boolean isMessageSet(Context ctx)
public static void setException(Exception e)
public static void setException(Exception e, Context ctx)
public static boolean isExceptionSet()
public static boolean isExceptionSet(Context ctx)
public static String getMessage()
public static String getMessage(Context ctx)
public static String getExceptionMessage(Exception e)
public static Exception getException()
public static Exception getException(Context ctx)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |