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
A Exception extension that is used to provide formatted exception messages for use in the UI.
See Also:
  • Field Details

    • LINE_SEPARATOR

      public static final String LINE_SEPARATOR
  • Constructor Details

    • TestandtargetFormattedException

      public TestandtargetFormattedException()
    • TestandtargetFormattedException

      public TestandtargetFormattedException(String message)
    • TestandtargetFormattedException

      public TestandtargetFormattedException(String message, Throwable cause)
    • TestandtargetFormattedException

      public TestandtargetFormattedException(Throwable throwable)
  • Method Details

    • getFormattedMessage

      public String getFormattedMessage()
      Concatenates message from constructor with the nested's throwable message. Lines are separated by LINE_SEPARATOR
      Returns:
      exception message