public class ProcessingLibraryException
extends java.lang.Exception
ExceptionHandler
interface.
The status of the operation that was in progress when the exception occurred can be retrieved by calling
the getStatus()
.
Constructor and Description |
---|
ProcessingLibraryException(java.lang.String message,
java.lang.Exception e,
ProgressStatus status)
Initializes a new
ProcessingLibraryException with a message, inner exception, and status. |
ProcessingLibraryException(java.lang.String message,
ProgressStatus status)
Initializes a new
ProcessingLibraryException with a message and status. |
Modifier and Type | Method and Description |
---|---|
ProgressStatus |
getStatus()
Get the status of the operation that was in progress when the exception occurred.
|
public ProcessingLibraryException(java.lang.String message, ProgressStatus status)
ProcessingLibraryException
with a message and status.message
- A string that provides information about the exception.status
- The ProgressStatus
of the operation that was in progress when the exception occurred.public ProcessingLibraryException(java.lang.String message, java.lang.Exception e, ProgressStatus status)
ProcessingLibraryException
with a message, inner exception, and status.message
- A string that provides information about the exception.e
- An inner exception that is carried along with this exception.status
- The ProgressStatus
of the operation that was in progress when the exception occurred.public ProgressStatus getStatus()
ProgressStatus
object that provides information about when the exception occurred.