Package com.opencqrs.framework
Class CqrsFrameworkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.opencqrs.framework.CqrsFrameworkException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CqrsFrameworkException.NonTransientException
,CqrsFrameworkException.TransientException
public sealed class CqrsFrameworkException
extends RuntimeException
permits CqrsFrameworkException.TransientException, CqrsFrameworkException.NonTransientException
Base class for exceptions handled within the framework. This class is
sealed
to distinguish between
transient (potentially recoverable) and non-transient (non-recoverable) errors.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception class representing non-recoveralbe errors.static class
Exception class representing potentially recoverable errors, such as communication or concurrency errors. -
Constructor Summary
ConstructorsConstructorDescriptionCqrsFrameworkException
(String message) CqrsFrameworkException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CqrsFrameworkException
-
CqrsFrameworkException
-