lejos.nxt.remote
Interface ErrorMessages


public interface ErrorMessages

Error messages that can be returned after a call to the NXT brick. e.g. The return value comes from method calls like Motor.backward(), SoundSensor.playTone(), etc... Actual values are only returned if you enable validation in the NXT class using NXT.setValidation().

Author:
Brian Bagnall

Field Summary
static byte APPEND_NOT_POSSIBLE
           
static byte ATTEMPTED_TO_ACCESS_INVALID_FIELD_OF_A_STRUCTURE
           
static byte BAD_ARGUMENTS
           
static byte BAD_INPUT_OR_OUTPUT_SPECIFIED
           
static byte COMMUNICATION_BUS_ERROR
           
static byte DATA_CONTAINS_OUT_OF_RANGE_VALUES
           
static byte END_OF_FILE
           
static byte END_OF_FILE_EXPECTED
           
static byte FILE_EXISTS
           
static byte FILE_IS_BUSY
           
static byte FILE_IS_FULL
           
static byte FILE_NOT_FOUND
           
static byte HANDLE_ALREADY_CLOSED
           
static byte ILLEGAL_FILE_NAME
           
static byte ILLEGAL_HANDLE
           
static byte ILLEGAL_MAILBOX_QUEUE_ID_SPECIFIED
           
static byte ILLEGAL_SIZE_SPECIFIED
           
static byte INSANE_PACKET
           
static byte INSUFFICIENT_MEMORY_AVAILABLE
           
static byte MODULE_NOT_FOUND
           
static byte NO_ACTIVE_PROGRAM
           
static byte NO_FREE_MEMORY_IN_COMMUNICATION_BUFFER
           
static byte NO_LINEAR_SPACE
           
static byte NO_MORE_FILES
           
static byte NO_MORE_HANDLES
           
static byte NO_SPACE
           
static byte NO_WRITE_BUFFERS
           
static byte NOT_A_LINEAR_FILE
           
static byte OUT_OF_BOUNDARY
           
static byte PENDING_COMMUNICATION_TRANSACTION_IN_PROGRESS
           
static byte REQUEST_FAILED
          Request failed (i.e.
static byte SPECIFIED_CHANNEL_CONNECTION_IS_NOT_VALID
          Specified channel/connection is not valid
static byte SPECIFIED_CHANNEL_CONNECTION_NOT_CONFIGURED_OR_BUSY
          Specified channel/connection not configured or busy
static byte SPECIFIED_MAILBOX_QUEUE_IS_EMPTY
           
static byte SUCCESS
           
static byte UNDEFINED_ERROR
           
static byte UNKNOWN_COMMAND_OPCODE
           
 

Field Detail

PENDING_COMMUNICATION_TRANSACTION_IN_PROGRESS

static final byte PENDING_COMMUNICATION_TRANSACTION_IN_PROGRESS
See Also:
Constant Field Values

SPECIFIED_MAILBOX_QUEUE_IS_EMPTY

static final byte SPECIFIED_MAILBOX_QUEUE_IS_EMPTY
See Also:
Constant Field Values

REQUEST_FAILED

static final byte REQUEST_FAILED
Request failed (i.e. specified file not found)

See Also:
Constant Field Values

UNKNOWN_COMMAND_OPCODE

static final byte UNKNOWN_COMMAND_OPCODE
See Also:
Constant Field Values

INSANE_PACKET

static final byte INSANE_PACKET
See Also:
Constant Field Values

DATA_CONTAINS_OUT_OF_RANGE_VALUES

static final byte DATA_CONTAINS_OUT_OF_RANGE_VALUES
See Also:
Constant Field Values

COMMUNICATION_BUS_ERROR

static final byte COMMUNICATION_BUS_ERROR
See Also:
Constant Field Values

NO_FREE_MEMORY_IN_COMMUNICATION_BUFFER

static final byte NO_FREE_MEMORY_IN_COMMUNICATION_BUFFER
See Also:
Constant Field Values

SPECIFIED_CHANNEL_CONNECTION_IS_NOT_VALID

static final byte SPECIFIED_CHANNEL_CONNECTION_IS_NOT_VALID
Specified channel/connection is not valid

See Also:
Constant Field Values

SPECIFIED_CHANNEL_CONNECTION_NOT_CONFIGURED_OR_BUSY

static final byte SPECIFIED_CHANNEL_CONNECTION_NOT_CONFIGURED_OR_BUSY
Specified channel/connection not configured or busy

See Also:
Constant Field Values

NO_ACTIVE_PROGRAM

static final byte NO_ACTIVE_PROGRAM
See Also:
Constant Field Values

ILLEGAL_SIZE_SPECIFIED

static final byte ILLEGAL_SIZE_SPECIFIED
See Also:
Constant Field Values

ILLEGAL_MAILBOX_QUEUE_ID_SPECIFIED

static final byte ILLEGAL_MAILBOX_QUEUE_ID_SPECIFIED
See Also:
Constant Field Values

ATTEMPTED_TO_ACCESS_INVALID_FIELD_OF_A_STRUCTURE

static final byte ATTEMPTED_TO_ACCESS_INVALID_FIELD_OF_A_STRUCTURE
See Also:
Constant Field Values

BAD_INPUT_OR_OUTPUT_SPECIFIED

static final byte BAD_INPUT_OR_OUTPUT_SPECIFIED
See Also:
Constant Field Values

INSUFFICIENT_MEMORY_AVAILABLE

static final byte INSUFFICIENT_MEMORY_AVAILABLE
See Also:
Constant Field Values

BAD_ARGUMENTS

static final byte BAD_ARGUMENTS
See Also:
Constant Field Values

SUCCESS

static final byte SUCCESS
See Also:
Constant Field Values

NO_MORE_HANDLES

static final byte NO_MORE_HANDLES
See Also:
Constant Field Values

NO_SPACE

static final byte NO_SPACE
See Also:
Constant Field Values

NO_MORE_FILES

static final byte NO_MORE_FILES
See Also:
Constant Field Values

END_OF_FILE_EXPECTED

static final byte END_OF_FILE_EXPECTED
See Also:
Constant Field Values

END_OF_FILE

static final byte END_OF_FILE
See Also:
Constant Field Values

NOT_A_LINEAR_FILE

static final byte NOT_A_LINEAR_FILE
See Also:
Constant Field Values

FILE_NOT_FOUND

static final byte FILE_NOT_FOUND
See Also:
Constant Field Values

HANDLE_ALREADY_CLOSED

static final byte HANDLE_ALREADY_CLOSED
See Also:
Constant Field Values

NO_LINEAR_SPACE

static final byte NO_LINEAR_SPACE
See Also:
Constant Field Values

UNDEFINED_ERROR

static final byte UNDEFINED_ERROR
See Also:
Constant Field Values

FILE_IS_BUSY

static final byte FILE_IS_BUSY
See Also:
Constant Field Values

NO_WRITE_BUFFERS

static final byte NO_WRITE_BUFFERS
See Also:
Constant Field Values

APPEND_NOT_POSSIBLE

static final byte APPEND_NOT_POSSIBLE
See Also:
Constant Field Values

FILE_IS_FULL

static final byte FILE_IS_FULL
See Also:
Constant Field Values

FILE_EXISTS

static final byte FILE_EXISTS
See Also:
Constant Field Values

MODULE_NOT_FOUND

static final byte MODULE_NOT_FOUND
See Also:
Constant Field Values

OUT_OF_BOUNDARY

static final byte OUT_OF_BOUNDARY
See Also:
Constant Field Values

ILLEGAL_FILE_NAME

static final byte ILLEGAL_FILE_NAME
See Also:
Constant Field Values

ILLEGAL_HANDLE

static final byte ILLEGAL_HANDLE
See Also:
Constant Field Values