Inherits Org.Apache.REEF.Common.Api.IFailure.
|
| Exception | AsError () |
| | Return the original Java Exception, or generate a new one if it does not exists. More...
|
| |
| string | GetStackTrace (Exception ex) |
| | Helper function: produce the string that contains the given exception's stack trace. More...
|
| |
| override string | ToString () |
| |
|
| | AbstractFailure (string id, string message, string description, Exception cause, byte[] data) |
| | Most detailed error message constructor that takes all parameters possible. More...
|
| |
| | AbstractFailure (string id, string message) |
| | Build error message given the entity ID and the short error message. More...
|
| |
| | AbstractFailure (string id, Exception cause) |
| | Build error message given the failed entity ID and Exception. More...
|
| |
| | AbstractFailure (string id, string message, string description) |
| | Build error message given the entity ID plus short and long error message. More...
|
| |
|
| string | Id [get] |
| | Identifier of the entity that produced the error. More...
|
| |
| string | Message [get, set] |
| |
| Optional< string > | Description [get, set] |
| |
| Optional< string > | Reason [get, set] |
| |
| Optional< Exception > | Cause [get, set] |
| |
| Optional< byte[]> | Data [get, set] |
| |
| 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...
|
| |
| string | Id [get] |
| | The Id of this object, e.g. More...
|
| |
| Org.Apache.REEF.Common.Api.AbstractFailure.AbstractFailure |
( |
string |
id, |
|
|
string |
message, |
|
|
string |
description, |
|
|
Exception |
cause, |
|
|
byte[] |
data |
|
) |
| |
|
inlineprotected |
Most detailed error message constructor that takes all parameters possible.
- Parameters
-
| id | Identifier of the entity that produced the error. Cannot be null. |
| message | One-line error message. Cannot be null. |
| description | Long error description. Can be null. |
| cause | Exception that caused the error. Can be null. |
| data | byte array that contains serialized version of the error. Can be null. |
| Org.Apache.REEF.Common.Api.AbstractFailure.AbstractFailure |
( |
string |
id, |
|
|
string |
message |
|
) |
| |
|
inlineprotected |
Build error message given the entity ID and the short error message.
- Parameters
-
| Org.Apache.REEF.Common.Api.AbstractFailure.AbstractFailure |
( |
string |
id, |
|
|
Exception |
cause |
|
) |
| |
|
inlineprotected |
Build error message given the failed entity ID and Exception.
Populates the message with the Exception.getMessage() result, and stores the exception stack trace in the description.
- Parameters
-
| Org.Apache.REEF.Common.Api.AbstractFailure.AbstractFailure |
( |
string |
id, |
|
|
string |
message, |
|
|
string |
description |
|
) |
| |
|
inlineprotected |
Build error message given the entity ID plus short and long error message.
- Parameters
-
| Exception Org.Apache.REEF.Common.Api.AbstractFailure.AsError |
( |
| ) |
|
|
inline |
| string Org.Apache.REEF.Common.Api.AbstractFailure.GetStackTrace |
( |
Exception |
ex | ) |
|
|
inline |
Helper function: produce the string that contains the given exception's stack trace.
Returns null if the argument is null.
- Parameters
-
| override string Org.Apache.REEF.Common.Api.AbstractFailure.ToString |
( |
| ) |
|
|
inline |
| Optional<Exception> Org.Apache.REEF.Common.Api.AbstractFailure.Cause |
|
getset |
| Optional<byte[]> Org.Apache.REEF.Common.Api.AbstractFailure.Data |
|
getset |
| Optional<string> Org.Apache.REEF.Common.Api.AbstractFailure.Description |
|
getset |
| string Org.Apache.REEF.Common.Api.AbstractFailure.Id |
|
get |
Identifier of the entity that produced the error.
Cannot be null.
| string Org.Apache.REEF.Common.Api.AbstractFailure.Message |
|
getset |
| Optional<string> Org.Apache.REEF.Common.Api.AbstractFailure.Reason |
|
getset |
The documentation for this class was generated from the following file: