BalinException()
Constructs a new exception with null as its detail message.
BalinException(message: String)
Constructs a new exception with the specified detail message.
BalinException(message: String, cause: Throwable?)
Constructs a new exception with the specified detail message and cause.
cause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
BalinException(cause: Throwable?)
Constructs a new exception with the specified cause and a detail message of
(cause?.toString()
) (which typically contains the class and detail message of cause).
cause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
BalinException(message: String, cause: Throwable?, enableSuppression: Boolean, writableStackTrace: Boolean)
Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
cause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
enableSuppression
- whether or not suppression is enabled or disabled.
writableStackTrace
- whether or not the stack trace should be writable.