Modifier and Type | Method and Description |
---|---|
OrtException.OrtErrorCode |
OrtException.getCode()
Return the error code.
|
static OrtException.OrtErrorCode |
OrtException.OrtErrorCode.mapFromInt(int value)
Maps from an int in native land into an OrtErrorCode instance.
|
static OrtException.OrtErrorCode |
OrtException.OrtErrorCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrtException.OrtErrorCode[] |
OrtException.OrtErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
OrtException(OrtException.OrtErrorCode code,
java.lang.String message)
Creates an OrtException using the specified error code and message.
|