|
||||||||||
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 java.lang.Exception |
getException()
|
static java.lang.Exception |
getException(Context ctx)
|
static java.lang.String |
getExceptionMessage(java.lang.Exception e)
Creates a string message out of an exception. |
static java.lang.String |
getMessage()
Returns the currently set message. |
static java.lang.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(java.lang.Exception e)
Store the exception. |
static void |
setException(java.lang.Exception e,
Context ctx)
|
static void |
setException(java.lang.String msg,
java.lang.Exception e)
|
static void |
setException(java.lang.String msg,
java.lang.Exception e,
Context ctx)
|
static void |
setMessage(java.lang.String msg)
Store the message. |
static void |
setMessage(java.lang.String msg,
Context ctx)
|
static void |
setMessage(java.lang.String msg,
java.lang.Exception e)
Creates a message containing the exception message. |
static void |
setMessage(java.lang.String msg,
java.lang.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(java.lang.String msg)
msg
- public static void setMessage(java.lang.String msg, Context ctx)
public static void setMessage(java.lang.String msg, java.lang.Exception e)
public static void setMessage(java.lang.String msg, java.lang.Exception e, Context ctx)
public static void setException(java.lang.String msg, java.lang.Exception e)
public static void setException(java.lang.String msg, java.lang.Exception e, Context ctx)
public static boolean isMessageSet()
public static boolean isMessageSet(Context ctx)
public static void setException(java.lang.Exception e)
public static void setException(java.lang.Exception e, Context ctx)
public static boolean isExceptionSet()
public static boolean isExceptionSet(Context ctx)
public static java.lang.String getMessage()
public static java.lang.String getMessage(Context ctx)
public static java.lang.String getExceptionMessage(java.lang.Exception e)
e
-
public static java.lang.Exception getException()
public static java.lang.Exception getException(Context ctx)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |