Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Common interface for all error messages in REEF. More...
Inherits Org.Apache.REEF.Utilities.IIdentifiable.
Inherited by Org.Apache.REEF.Common.Api.AbstractFailure, and Org.Apache.REEF.Common.Api.IAbstractFailure.
Public Member Functions | |
Exception | AsError () |
Return the original Java Exception, or generate a new one if it does not exists. More... | |
Properties | |
string | Message [get, set] |
One-line error message. More... | |
Optional< string > | Description [get, set] |
Optional long error description. More... | |
Optional< string > | Reason [get, set] |
Exception that caused the error, or null. More... | |
Optional< byte[]> | Data [get, set] |
Optional serialized version of the error message. More... | |
Properties inherited from Org.Apache.REEF.Utilities.IIdentifiable | |
string | Id [get] |
The Id of this object, e.g. More... | |
Common interface for all error messages in REEF.
Most of its functionality is generic and implemented in the AbstractFailure class.
Exception Org.Apache.REEF.Common.Api.IFailure.AsError | ( | ) |
Return the original Java Exception, or generate a new one if it does not exists.
ALWAYS returns an exception, never null
Implemented in Org.Apache.REEF.Common.Api.AbstractFailure.
|
getset |
Optional serialized version of the error message.
|
getset |
Optional long error description.
|
getset |
One-line error message.
Should never be null.
|
getset |
Exception that caused the error, or null.