Class OBException

    • Constructor Detail

      • OBException

        public OBException()
      • OBException

        public OBException​(boolean logException)
      • OBException

        public OBException​(String message,
                           Throwable cause,
                           boolean logException)
      • OBException

        public OBException​(String message)
      • OBException

        public OBException​(String message,
                           boolean logException)
      • OBException

        public OBException​(Throwable cause)
      • OBException

        public OBException​(Throwable cause,
                           boolean logException)
    • Method Detail

      • getLogger

        protected org.apache.logging.log4j.Logger getLogger()
        This method returns a logger which can be used by a subclass. The logger is specific for the instance of the Exception (the subclass).
        Returns:
        the class-specific Logger
      • isLogExceptionNeeded

        public boolean isLogExceptionNeeded()
        This method returns if log exception is needed.
        Returns:
        the logExceptionNeeded