public class ErrorMessage extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EIGHT_BYTES |
static int |
FOUR_BYTES |
static int |
INFINITE_LENGHT_TEXT_STRING_NOT_SUPPORTED |
static int |
INFINITE_LENGTH_BYTE_STRING_NOT_SUPPORTED |
static int |
INVALID_ARRAY_LENGHT |
static int |
INVALID_MAJOR_TYPE |
static int |
INVALID_MAP_LENGHT |
static int |
NO_PAYLOAD |
static int |
NOT_WELL_FORMED_CBOR_INTEGER |
static int |
ONE_BYTE |
static int |
STRING_LENGTH_TOO_LONG |
static int |
TAG_CANNOT_BE_NEGATIVE |
static int |
TWO_BYTES |
static int |
UNEXPECTED_BOOLEAN_VALUE |
static int |
UNEXPECTED_PAYLOAD_OR_LENGTH |
static int |
UNEXPECTED_SUBTYPE |
static int |
UNEXPECTED_TYPE |
static int |
UNEXPECTED_TYPE_TWO_TYPES |
static int |
UNKNOWN |
Constructor and Description |
---|
ErrorMessage() |
Modifier and Type | Method and Description |
---|---|
static ErrorMessage |
getDefault()
Gets the default instance of
ErrorMessage . |
String |
messageAt(int errorCode,
Object... args)
Generates
String for a specified error code. |
public static final int EIGHT_BYTES
public static final int FOUR_BYTES
public static final int INFINITE_LENGHT_TEXT_STRING_NOT_SUPPORTED
public static final int INFINITE_LENGTH_BYTE_STRING_NOT_SUPPORTED
public static final int INVALID_ARRAY_LENGHT
public static final int INVALID_MAJOR_TYPE
public static final int INVALID_MAP_LENGHT
public static final int NO_PAYLOAD
public static final int NOT_WELL_FORMED_CBOR_INTEGER
public static final int ONE_BYTE
public static final int STRING_LENGTH_TOO_LONG
public static final int TAG_CANNOT_BE_NEGATIVE
public static final int TWO_BYTES
public static final int UNEXPECTED_BOOLEAN_VALUE
public static final int UNEXPECTED_PAYLOAD_OR_LENGTH
public static final int UNEXPECTED_SUBTYPE
public static final int UNEXPECTED_TYPE
public static final int UNEXPECTED_TYPE_TWO_TYPES
public static final int UNKNOWN
public static ErrorMessage getDefault()
ErrorMessage
.ErrorMessage
instance.