TeszCoreException
| Type | 🟨 Abstract Exception |
| Package | io.github.mrtesz.teszcore.exceptions |
| GitHub | TeszCoreException.java |
| Extends | RuntimeException |
| Implements | Copyable<TeszCoreException> |
Description
Parent class of all custom exceptions
Constructor(s)
TeszCoreException();
TeszCoreException(String message);
TeszCoreException(Throwable cause);
TeszCoreException(String message, Exception cause);
| Parameter | Type | Annotations | Description |
|---|---|---|---|
message | String | @Nullable | (optional) Error Message |
cause | Throwable | @Nullable | (optional) Cause |
Methods
getMessage
String getMessage();
Get the message
Returns: String — message
getMessage
Throwable getCause();
Get the cause
Returns: Throwable — cause