Class BaseException

    • Constructor Detail

      • BaseException

        public BaseException()
      • BaseException

        public BaseException​(Throwable cause)
      • BaseException

        public BaseException​(String message)
      • BaseException

        public BaseException​(String message,
                             Throwable cause)
      • BaseException

        public BaseException​(String message,
                             Throwable cause,
                             boolean enableSuppression,
                             boolean writableStackTrace)
    • Method Detail

      • message

        public final String message()
      • assembleDetailString

        public String assembleDetailString()
      • assembleOutputString

        public String assembleOutputString()
      • getMessage

        public String getMessage()
        Due to bad class design in the JDK's Throwable, this getter-named methods actually serves as the output string assembly method.
        For the actual message getter, see message() (which is a preferable name, anyway).
        For the actually executed logic, see assembleOutputString(), which is called by this method.
        Overrides:
        getMessage in class Throwable
        Returns:
        this exception type's generic output string plus an explicit message if present.