Class InvalidDraftStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
com.hiddenswitch.spellsource.draft.DraftException
com.hiddenswitch.spellsource.draft.InvalidDraftStatusException
- All Implemented Interfaces:
Serializable
Indicates the current state of the draft is invalid for the requested changes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidDraftStatusException
(DraftStatus status, DraftStatus expected) Creates a new draft status error. -
Method Summary
Modifier and TypeMethodDescriptionThe expected status.@NotNull DraftStatus
The status at the time the exception was thrown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getStatus
The status at the time the exception was thrown.- Returns:
-
getExpected
The expected status.- Returns:
-