Class InvalidActivityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.appiancorp.suiteapi.common.exceptions.AppianException
com.appiancorp.exceptions.AppianException
com.appiancorp.suiteapi.process.exceptions.InvalidTaskException
com.appiancorp.suiteapi.process.exceptions.InvalidActivityException
- All Implemented Interfaces:
Serializable
This exception is thrown if the user calls an API method that acts
on an activity (a task or an unattended activity) and that activity
does not exist in the database.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new exception withnull
as its detail message.InvalidActivityException
(String message_) Constructs a new exception with the specified detail message. -
Method Summary
Methods inherited from class com.appiancorp.suiteapi.common.exceptions.AppianException
getErrorCode, getErrorCodeArguments, getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedTitle, getMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
InvalidActivityException
public InvalidActivityException()Constructs a new exception withnull
as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable) -
InvalidActivityException
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
-