Package org.imixs.workflow.exceptions
Class InvalidAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.imixs.workflow.exceptions.InvalidAccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedException,AdminPException,ProcessingErrorException
An InvalidAccessException is a runtime exception which should be thrown by a
Imixs Workflow component if a method call is invalid or the data structure is
in an invalid state.
The property errorCode specifies the exception type. Extensions of this
Exception may add additional errorCodes.
- Author:
- rsoika
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidAccessException(String message) InvalidAccessException(String message, Exception e) InvalidAccessException(String aErrorCode, String message) InvalidAccessException(String aErrorCode, String message, Exception e) InvalidAccessException(String aErrorContext, String aErrorCode, String message) InvalidAccessException(String aErrorContext, String aErrorCode, String message, Exception e) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetErrorCode(String errorCode) voidsetErrorContext(String errorContext) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
OPERATION_NOTALLOWED
- See Also:
-
INVALID_ID
- See Also:
-
INVALID_INDEX
- See Also:
-
errorCode
-
errorContext
-
-
Constructor Details
-
InvalidAccessException
-
InvalidAccessException
-
InvalidAccessException
-
InvalidAccessException
-
InvalidAccessException
-
InvalidAccessException
-
-
Method Details
-
getErrorContext
-
setErrorContext
-
getErrorCode
-
setErrorCode
-