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
public abstract class TestandtargetFormattedException extends Exception
AException
extension that is used to provide formatted exception messages for use in the UI.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
LINE_SEPARATOR
-
Constructor Summary
Constructors Constructor Description TestandtargetFormattedException()
TestandtargetFormattedException(String message)
TestandtargetFormattedException(String message, Throwable cause)
TestandtargetFormattedException(Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFormattedMessage()
Concatenates 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 Detail
-
LINE_SEPARATOR
public static final String LINE_SEPARATOR
-
-
Constructor Detail
-
TestandtargetFormattedException
public TestandtargetFormattedException()
-
TestandtargetFormattedException
public TestandtargetFormattedException(String message)
-
TestandtargetFormattedException
public TestandtargetFormattedException(String message, Throwable cause)
-
TestandtargetFormattedException
public TestandtargetFormattedException(Throwable throwable)
-
-
Method Detail
-
getFormattedMessage
public String getFormattedMessage()
Concatenates message from constructor with the nested's throwable message. Lines are separated byLINE_SEPARATOR
- Returns:
- exception message
-
-