Module org.refcodes.exception
Package org.refcodes.exception
-
Interface Summary Interface Description ErrorCodeAccessor Provides an accessor for an error code property.ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>> Provides a builder method for a error code property returning the builder for applying multiple build operations.ErrorCodeAccessor.ErrorCodeMutator Provides a mutator for an error code property.ErrorCodeAccessor.ErrorCodeProperty Provides an error code property.ErrorMessageAccessor Provides an accessor for a error message property.ErrorMessageAccessor.ErrorMessageBuilder<B extends ErrorMessageAccessor.ErrorMessageBuilder<B>> Provides a builder method for a error message property returning the builder for applying multiple build operations.ErrorMessageAccessor.ErrorMessageMutator Provides a mutator for a error message property.ErrorMessageAccessor.ErrorMessageProperty Provides a error message property.ExceptionAccessor<EXC extends Throwable> Provides an accessor for anException
property.ExceptionAccessor.ExceptionBuilder<EXC extends Throwable,B extends ExceptionAccessor.ExceptionBuilder<EXC,B>> Provides a builder method for a exception property returning the builder for applying multiple build operations.ExceptionAccessor.ExceptionMutator<EXC extends Throwable> Provides a mutator for anException
property.ExceptionAccessor.ExceptionProperty<EXC extends Throwable> Provides a anException
property.Exceptional<EXC extends Throwable> TheExceptional
interface provides means for threads to wait (sleep) when callingExceptional.catchException()
till a nextException
occurs or till the waiting (sleeping) threads are released.ExceptionHandler<EXC extends Throwable> TheExceptionHandler
interface provides means to handle exceptions which usually are occurring inside daemon threads and are usually hidden from the (business) logic.ExceptionHandlerAccessor<EXC extends Throwable> Provides an accessor for anExceptionHandler
property.ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC extends Throwable,B extends ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC,B>> Provides a builder method for a exception handler property returning the builder for applying multiple build operations.ExceptionHandlerAccessor.ExceptionHandlerMutator<EXC extends Throwable> Provides a mutator for anExceptionHandler
property.ExceptionHandlerAccessor.ExceptionHandlerProperty<EXC extends Throwable> Provides a anExceptionHandler
property.Trap Interface declaring base exception functionality for all of refcodes exceptions. -
Class Summary Class Description ExceptionUtility Utility class for simplifying the work with exceptions. -
Exception Summary Exception Description AbstractException Base exception for unpredictable / checked (untestable states) exceptions, providing functionality for exception specific multi-language messages.AbstractHiddenException Base exception for hidden (unchecked) / subsystem exceptions, providing functionality for exception specific multi-language messages.AbstractIOException Base exception for I/O exceptions, providing functionality for exception specific multi-language messages.AbstractRuntimeException Base exception for runtime (unchecked) / predictable (testable states) exceptions, providing functionality for exception specific multi-language messages.BugException Exception bugs (unchecked).IntegrityException An integrity exception is thrown whenever the integrity of data may be violated.IORuntimeException Unchecked exception with the same semantics as theIOException
.LockedException Thrown in case an instance being locked is still being accessed in a modifying way (seeorg.refcodes.mixin.Lockable
in the refcodes-mixin artifact).LockedException.LockedRuntimeException Thrown in case an instance being locked is still being accessed in a modifying way (seeorg.refcodes.mixin.Lockable
in the refcodes-mixin artifact).MarshalException Thrown when marshaling / serializing an object fails.TimeoutIOException Thrown in case opening or accessing an open line (connection, junction, link) caused timeout problems.UnmarshalException Thrown when unmarshaling / deserializing an object fails.VerifyRuntimeException A verify exception is thrown in case the verification of the result (of an algorithm) failed.VetoException Thrown to signal that an operation is being vetoed by a third party observing the invocation of the given operation.VetoException.VetoRuntimeException Thrown to signal that an operation is being vetoed by a third party observing the invocation of the given operation.