Class TestandtargetFormattedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.day.cq.analytics.testandtarget.TestandtargetFormattedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestandtargetException
A
Exception extension that is used to provide formatted exception messages for use in the UI.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTestandtargetFormattedException(String message) TestandtargetFormattedException(String message, Throwable cause) TestandtargetFormattedException(Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionConcatenates message from constructor with the nested's throwable message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
LINE_SEPARATOR
-
-
Constructor Details
-
TestandtargetFormattedException
public TestandtargetFormattedException() -
TestandtargetFormattedException
-
TestandtargetFormattedException
-
TestandtargetFormattedException
-
-
Method Details
-
getFormattedMessage
Concatenates message from constructor with the nested's throwable message. Lines are separated byLINE_SEPARATOR- Returns:
- exception message
-