Class TestandtargetFormattedException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    TestandtargetException

    public abstract class TestandtargetFormattedException
    extends java.lang.Exception
    A Exception 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  
    • 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LINE_SEPARATOR

        public static final java.lang.String LINE_SEPARATOR
    • 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 by LINE_SEPARATOR
        Returns:
        exception message