Class TestandtargetFormattedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.day.cq.analytics.testandtarget.TestandtargetFormattedException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TestandtargetException
public abstract class TestandtargetFormattedException extends java.lang.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 java.lang.String
LINE_SEPARATOR
-
Constructor Summary
Constructors Constructor Description TestandtargetFormattedException()
TestandtargetFormattedException(java.lang.String message)
TestandtargetFormattedException(java.lang.String message, java.lang.Throwable cause)
TestandtargetFormattedException(java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFormattedMessage()
Concatenates message from constructor with the nested's throwable message.
-
-
-
Constructor Detail
-
TestandtargetFormattedException
public TestandtargetFormattedException()
-
TestandtargetFormattedException
public TestandtargetFormattedException(java.lang.String message)
-
TestandtargetFormattedException
public TestandtargetFormattedException(java.lang.String message, java.lang.Throwable cause)
-
TestandtargetFormattedException
public TestandtargetFormattedException(java.lang.Throwable throwable)
-
-
Method Detail
-
getFormattedMessage
public java.lang.String getFormattedMessage()
Concatenates message from constructor with the nested's throwable message. Lines are separated byLINE_SEPARATOR
- Returns:
- exception message
-
-