Package com.opencqrs.framework.command
Class CommandSubjectConditionViolatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.opencqrs.framework.CqrsFrameworkException
com.opencqrs.framework.CqrsFrameworkException.NonTransientException
com.opencqrs.framework.command.CommandSubjectConditionViolatedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommandSubjectAlreadyExistsException
,CommandSubjectDoesNotExistException
public abstract class CommandSubjectConditionViolatedException
extends CqrsFrameworkException.NonTransientException
Exception thrown if
Command.SubjectCondition
is violated.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.opencqrs.framework.CqrsFrameworkException
CqrsFrameworkException.NonTransientException, CqrsFrameworkException.TransientException
-
Constructor Summary
ConstructorsConstructorDescriptionCommandSubjectConditionViolatedException
(String message, Command command, Command.SubjectCondition subjectCondition) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandSubjectConditionViolatedException
public CommandSubjectConditionViolatedException(String message, Command command, Command.SubjectCondition subjectCondition)
-
-
Method Details
-
getCommand
-
getSubjectCondition
-