Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAsyncHandler(ExcHandler) - Static method in exception class com.github.sttk.errs.Exc
-
Adds an
ExcHandlerobject which is executed asynchronously just after anExcis created. - addSyncHandler(ExcHandler) - Static method in exception class com.github.sttk.errs.Exc
-
Adds an
ExcHandlerobject which is executed synchronously just after anExcis 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
- Exc - Exception Class in com.github.sttk.errs
-
Is the exception class with a reason.
- Exc(Object) - Constructor for exception class com.github.sttk.errs.Exc
-
Is the constructor which takes an object indicating the reason for this exception.
- Exc(Object, Throwable) - Constructor for exception class com.github.sttk.errs.Exc
-
Is the constructor which takes an object indicating the reason and
Throwableobject indicating the cause for this exception. - ExcHandler - Interface in com.github.sttk.errs
-
ExcHandleris a handler of anExcobject creation.
F
- fixHandlers() - Static method in exception class com.github.sttk.errs.Exc
-
Prevents further addition of
ExcHandlerobjects to synchronous and asynchronous exception handler lists.
G
- getFile() - Method in exception class com.github.sttk.errs.Exc
-
Returns the name of the source file of this exception occurrance.
- getLine() - Method in exception class com.github.sttk.errs.Exc
-
Returns the line number of this exception occurrance in the source file.
- getMessage() - Method in exception class com.github.sttk.errs.Exc
-
Returns the message of this exception, that is the reason.
- getReason() - Method in exception class com.github.sttk.errs.Exc
-
Gets the reason for this exception.
H
- handle(Exc, OffsetDateTime) - Method in interface com.github.sttk.errs.ExcHandler
-
Handles an
Excobject creation.
T
- toRuntimeException() - Method in exception class com.github.sttk.errs.Exc
-
Creates a
RuntimeExceptionobject for methods that cannot throw aExc. - toString() - Method in exception class com.github.sttk.errs.Exc
-
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