Package com.appiancorp.suiteapi.process
Class ProcessException
java.lang.Object
com.appiancorp.suiteapi.process.ProcessException
- All Implemented Interfaces:
Serializable
Contains metadata about an exception (error) that occurred while
a process was executing.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the type metadata for this exception.Gets the tiem at which this exception was resolved.Gets the user who resolved this exception.booleanDetermines whether this exception has been resolved.voidsetExceptionType(ProcessExceptionType exceptionType_) Sets the type metadata for this exception.voidsetResolvedTime(Timestamp resolvedTime_) Sets the tiem at which this exception was resolved.voidsetResolver(String resolver_) Sets the user who resolved this exception.
-
Constructor Details
-
ProcessException
public ProcessException()
-
-
Method Details
-
getExceptionType
Gets the type metadata for this exception.- Returns:
- the type of exception that occurred.
-
setExceptionType
Sets the type metadata for this exception.- Parameters:
exceptionType_- the type of exception that occurred.
-
isResolved
public boolean isResolved()Determines whether this exception has been resolved.- Returns:
trueif this exception has been resolved,falseotherwise.
-
getResolvedTime
Gets the tiem at which this exception was resolved.- Returns:
- the time at which this exception was resolved, or
nullif it has not yet been resolved.
-
setResolvedTime
Sets the tiem at which this exception was resolved.- Parameters:
resolvedTime_- the time at which this exception was resolved, ornullif it has not yet been resolved.
-
getResolver
Gets the user who resolved this exception.- Returns:
- the username of the person who resolved the exception,
or
nullif the exception has not yet been resolved.
-
setResolver
Sets the user who resolved this exception.- Parameters:
resolver_- the username of the person who resolved the exception, ornullif the exception has not yet been resolved.
-