Class BaseException

    • Constructor Detail

      • BaseException

        public BaseException()
        Create a new BaseException object.
      • BaseException

        public BaseException​(String message)
        Create a new BaseException object with the specified message
        Parameters:
        message - The message to throw with the exception
      • BaseException

        public BaseException​(String message,
                             Throwable cause)
        Create a new BaseException object with the specified message
        Parameters:
        message - The message to throw with the exception
        cause - The original exception
      • BaseException

        public BaseException​(Throwable cause)
        Create a new BaseException object acting as a wrapper for another exception that caused the error.
        Parameters:
        cause - The original exception
      • BaseException

        public BaseException​(SQLException cause)
        Create a new BaseException object where the cause is an SQLException. An SQLException is different from other exception in that is uses SQLException.getNextException() instead of Throwable.getCause() to chain exception. This constructor tries to copy the getNextException:s into the getCause chain.
        Parameters:
        cause - The SQL exception