Class InvalidActivityClassSchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.appiancorp.suiteapi.common.exceptions.AppianException
com.appiancorp.suiteapi.process.exceptions.InvalidActivityClassSchemaException
- All Implemented Interfaces:
Serializable
This exception is thrown if the user calls an API method that acts on
an activity class schema (or schemaId or local Id), and that schema
does not exist in the database.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.InvalidActivityClassSchemaException(ErrorCode errorCode, Object... errorCodeArguments) InvalidActivityClassSchemaException(String message_) Deprecated.InvalidActivityClassSchemaException(String message_, Throwable t_) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionGets the error code associated with this exception.Object[]Gets the arguments that must be used to render this exception's message representation.Methods inherited from class com.appiancorp.suiteapi.common.exceptions.AppianException
getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedStaticMessage, getLocalizedTitle, getMessage, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
InvalidActivityClassSchemaException
-
InvalidActivityClassSchemaException
Deprecated.Constructs a new exception withnullas its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable) -
InvalidActivityClassSchemaException
Deprecated.Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)- Parameters:
message_- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method
-
InvalidActivityClassSchemaException
Deprecated.Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, PrivilegedActionException)- Parameters:
t_- the cause (which is saved for later retrieval by the Throwable.getCause() method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
InvalidActivityClassSchemaException
Deprecated.Constructs a new exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.- Parameters:
message_- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() methodt_- the cause (which is saved for later retrieval by the Throwable.getCause() method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getErrorCode
Description copied from class:AppianExceptionGets the error code associated with this exception. Subclasses should override this method to return specific error codes. The default implementation returns APNX-1-0000-000 (ErrorCode.GENERIC_ERROR).- Overrides:
getErrorCodein classAppianException- See Also:
-
getErrorCodeArguments
Description copied from class:AppianExceptionGets the arguments that must be used to render this exception's message representation. Subclasses should override this method to return specific arguments. The default implementation returns a length 1 array containing the message as returned by the parent class of AppianException. This method is only called whenAppianException.getErrorCodeArguments(Locale)hasn't been overwritten.- Overrides:
getErrorCodeArgumentsin classAppianException- Returns:
- the arguments of the error code tied to this exception
- See Also:
-