Index

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

A

addAsyncHandler(ExcHandler) - Static method in exception class com.github.sttk.errs.Exc
Adds an ExcHandler object which is executed asynchronously just after an Exc is created.
addSyncHandler(ExcHandler) - Static method in exception class com.github.sttk.errs.Exc
Adds an ExcHandler object which is executed synchronously just after an Exc 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

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 Throwable object indicating the cause for this exception.
ExcHandler - Interface in com.github.sttk.errs
ExcHandler is a handler of an Exc object creation.

F

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

T

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