Class FormatException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FormatException
    extends java.lang.RuntimeException
    Class for exceptions regarding format error incidents
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FormatException()
      Default constructor
      FormatException​(java.lang.String title, java.lang.String message)
      Constructor with passed message
      FormatException​(java.lang.String title, java.lang.String message, java.lang.Exception inner)
      Constructor with passed message and inner
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getExceptionTitle()
      Gets the title of the exception
      java.lang.Exception getInnerException()
      Gets the inner exception
      • 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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FormatException

        public FormatException()
        Default constructor
      • FormatException

        public FormatException​(java.lang.String title,
                               java.lang.String message)
        Constructor with passed message
        Parameters:
        title - Title of the exception
        message - Message of the exception
      • FormatException

        public FormatException​(java.lang.String title,
                               java.lang.String message,
                               java.lang.Exception inner)
        Constructor with passed message and inner
        Parameters:
        title - Title of the exception
        message - Message of the exception
        inner - Inner exception
    • Method Detail

      • getInnerException

        public java.lang.Exception getInnerException()
        Gets the inner exception
        Returns:
        Inner exception
      • getExceptionTitle

        public java.lang.String getExceptionTitle()
        Gets the title of the exception
        Returns:
        Title as string