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
-
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.boolean
Determines whether this exception has been resolved.void
setExceptionType
(ProcessExceptionType exceptionType_) Sets the type metadata for this exception.void
setResolvedTime
(Timestamp resolvedTime_) Sets the tiem at which this exception was resolved.void
setResolver
(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:
true
if this exception has been resolved,false
otherwise.
-
getResolvedTime
Gets the tiem at which this exception was resolved.- Returns:
- the time at which this exception was resolved, or
null
if 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, ornull
if 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
null
if 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, ornull
if the exception has not yet been resolved.
-