balin / com.github.epadronu.balin.exceptions / BalinException / <init>

<init>

BalinException()

Constructs a new exception with null as its detail message.

BalinException(message: String)

Constructs a new exception with the specified detail message.

Parameters

message - the detail message.

BalinException(message: String, cause: Throwable?)

Constructs a new exception with the specified detail message and cause.

Parameters

message - the detail message.

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).

Parameters

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.

Parameters

message - the detail message.

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.