public class ErrorInfo extends Object implements Serializable
Constructor and Description |
---|
ErrorInfo(Throwable exception,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
SerializedThrowable |
getException()
Returns the serialized form of the original exception.
|
String |
getExceptionAsString()
Returns the contained exception as a string.
|
long |
getTimestamp()
Returns the timestamp for the contained exception.
|
public ErrorInfo(Throwable exception, long timestamp)
public SerializedThrowable getException()
public String getExceptionAsString()
"(null)"
public long getTimestamp()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.