Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAsyncHandler(ErrHandler) - Static method in exception class com.github.sttk.errs.Err
-
Adds an
ErrHandlerobject which is executed asynchronously just after anErris created. - addSyncHandler(ErrHandler) - Static method in exception class com.github.sttk.errs.Err
-
Adds an
ErrHandlerobject which is executed synchronously just after anErris created.
C
- com.github.sttk.errs - module com.github.sttk.errs
-
Contains a package which provides the APIs for handling an exception with a reason.
- com.github.sttk.errs - package com.github.sttk.errs
-
Provides classes for handling an exception with a reason.
E
- Err - Exception Class in com.github.sttk.errs
-
Is the exception class with a reason.
- Err(Object) - Constructor for exception class com.github.sttk.errs.Err
-
Is the constructor which takes an object indicating the reason for this exception.
- Err(Object, Throwable) - Constructor for exception class com.github.sttk.errs.Err
-
Is the constructor which takes an object indicating the reason and
Throwableobject indicating the cause for this exception. - ErrHandler - Interface in com.github.sttk.errs
-
ErrHandleris a handler of anErrobject creation.
F
- fixHandlers() - Static method in exception class com.github.sttk.errs.Err
-
Prevents further addition of
ErrHandlerobjects to synchronous and asynchronous exception handler lists.
G
- getFile() - Method in exception class com.github.sttk.errs.Err
-
Returns the name of the source file of this exception occurrence.
- getLine() - Method in exception class com.github.sttk.errs.Err
-
Returns the line number of this exception occurrence in the source file.
- getMessage() - Method in exception class com.github.sttk.errs.Err
-
Returns the message of this exception, that is the reason.
- getReason() - Method in exception class com.github.sttk.errs.Err
-
Gets the reason for this exception.
H
- handle(Err, OffsetDateTime) - Method in interface com.github.sttk.errs.ErrHandler
-
Handles an
Errobject creation.
T
- toRuntimeException() - Method in exception class com.github.sttk.errs.Err
-
Creates a
RuntimeExceptionobject for methods that cannot throw aErr. - toString() - Method in exception class com.github.sttk.errs.Err
-
Returns the detail message of this exception, that contains the reason, source file name, line number, and the cause if provided.
All Classes and Interfaces|All Packages|Serialized Form