public class BaseException extends RuntimeException
Constructor and Description |
---|
BaseException()
Create a new
BaseException object. |
BaseException(String message)
Create a new
BaseException object with the specified
message |
BaseException(String message,
Throwable cause)
Create a new
BaseException object with the
specified message |
BaseException(Throwable cause)
Create a new
BaseException object acting as a
wrapper for another exception that caused the error. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BaseException()
BaseException
object.public BaseException(String message)
BaseException
object with the specified
message
message
- The message to throw with the exceptionpublic BaseException(String message, Throwable cause)
BaseException
object with the
specified message
message
- The message to throw with the exceptioncause
- The original exceptionpublic BaseException(Throwable cause)
BaseException
object acting as a
wrapper for another exception that caused the error.cause
- The original exception