classPiiExecutionException
#include <PiiExecutionException.h>
Thrown when an operation cannot be started, or an error is detected during execution.
Inherits PiiException
Inherited by PiiCompoundExecutionException
Description
Public types
|
enum
|
{ Error, Finished, Interrupted, Paused }
Codes for different exception types. |
Constructors and destructor
|
Constructs a new |
|
|
Constructs a new PiiExecutionException with the given code. |
|
|
Copies another exception. |
|
|
Constructs a new PiiExecutionException with the given code, error message and location. |
|
Public member functions
|
( )
Get the cause of the exception. |
|
|
void
|
Set the error code. |
Static public member functions
|
static const char *
|
Returns a textual representation of the given code. |
Enumeration details
-
enum Code
Codes for different exception types.
-
Error- the exception was caused by an error. The operation must be terminated. -
Finished- the operation that threw the exception finished execution due to end of data (or similar reason) upon reception of a stop tag. -
Interrupted- the operation was abruptly interrupted by an external signal. -
Paused- the operation was paused upon reception of a pause tag.
-
Function details
-
Constructs a new
Errorwith the given message and location. -
PiiExecutionException
Constructs a new PiiExecutionException with the given code.
-
PiiExecutionException
Copies another exception.
-
Constructs a new PiiExecutionException with the given code, error message and location.
-
~PiiExecutionException
() -
Code code
()Get the cause of the exception.
-
void setCode
Set the error code.
-
Returns a textual representation of the given code.
Add a note
Not a single note added yet. Be the first, add yours.