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

public class InvalidActivityClassSchemaException extends AppianException
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 Details

    • InvalidActivityClassSchemaException

      public InvalidActivityClassSchemaException(ErrorCode errorCode, Object... errorCodeArguments)
    • InvalidActivityClassSchemaException

      @Deprecated public InvalidActivityClassSchemaException()
      Deprecated.
      Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
    • InvalidActivityClassSchemaException

      @Deprecated public InvalidActivityClassSchemaException(String message_)
      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 public InvalidActivityClassSchemaException(Throwable t_)
      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). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • InvalidActivityClassSchemaException

      @Deprecated public InvalidActivityClassSchemaException(String message_, Throwable t_)
      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() method
      t_ - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
  • Method Details

    • getErrorCode

      public ErrorCode getErrorCode()
      Description copied from class: AppianException
      Gets 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:
      getErrorCode in class AppianException
      See Also:
    • getErrorCodeArguments

      public Object[] getErrorCodeArguments()
      Description copied from class: AppianException
      Gets 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 when AppianException.getErrorCodeArguments(Locale) hasn't been overwritten.
      Overrides:
      getErrorCodeArguments in class AppianException
      Returns:
      the arguments of the error code tied to this exception
      See Also: