public class H2OError extends Iced
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_dev_msg
Potentially more detailed message intended for a developer (e.g.
|
java.lang.String |
_error_url |
java.lang.String |
_exception_msg
Raw exception message, if any.
|
java.lang.String |
_exception_type
Exception type, if any.
|
int |
_http_status
HTTP status code for this error.
|
java.lang.String |
_msg
Message intended for the end user (a data scientist).
|
java.lang.String[] |
_stacktrace
Stacktrace, if any.
|
long |
_timestamp
Milliseconds since the epoch for the time that this H2OError instance was created.
|
IcedHashMap.IcedHashMapStringObject |
_values
Any values that are relevant to reporting or handling this error.
|
Constructor and Description |
---|
H2OError(long timestamp,
java.lang.String error_url,
java.lang.String msg,
java.lang.String dev_msg,
int http_status,
IcedHashMap.IcedHashMapStringObject values,
java.lang.Throwable e) |
H2OError(java.lang.String error_url,
java.lang.String msg,
java.lang.String dev_msg,
int http_status,
IcedHashMap.IcedHashMapStringObject values,
java.lang.Exception e) |
H2OError(java.lang.Throwable e,
java.lang.String error_url) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
httpStatusHeader(int status_code) |
java.lang.String |
toString() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public long _timestamp
public java.lang.String _error_url
public java.lang.String _msg
public java.lang.String _dev_msg
public int _http_status
public IcedHashMap.IcedHashMapStringObject _values
public java.lang.String _exception_type
public java.lang.String _exception_msg
public java.lang.String[] _stacktrace
public H2OError(java.lang.String error_url, java.lang.String msg, java.lang.String dev_msg, int http_status, IcedHashMap.IcedHashMapStringObject values, java.lang.Exception e)
public H2OError(long timestamp, java.lang.String error_url, java.lang.String msg, java.lang.String dev_msg, int http_status, IcedHashMap.IcedHashMapStringObject values, java.lang.Throwable e)
public H2OError(java.lang.Throwable e, java.lang.String error_url)