Index

A C E F G H T 
All Classes and Interfaces|All Packages|Serialized Form

A

addAsyncHandler(ErrHandler) - Static method in exception class com.github.sttk.errs.Err
Adds an ErrHandler object which is executed asynchronously just after an Err is created.
addSyncHandler(ErrHandler) - Static method in exception class com.github.sttk.errs.Err
Adds an ErrHandler object which is executed synchronously just after an Err is 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 Throwable object indicating the cause for this exception.
ErrHandler - Interface in com.github.sttk.errs
ErrHandler is a handler of an Err object creation.

F

fixHandlers() - Static method in exception class com.github.sttk.errs.Err
Prevents further addition of ErrHandler objects 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 Err object creation.

T

toRuntimeException() - Method in exception class com.github.sttk.errs.Err
Creates a RuntimeException object for methods that cannot throw a Err.
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.
A C E F G H T 
All Classes and Interfaces|All Packages|Serialized Form