Package ej.event
Class EventQueueMockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ej.event.EventQueueMockException
-
- All Implemented Interfaces:
java.io.Serializable
public class EventQueueMockException extends java.lang.RuntimeExceptionThrown to indicate that a method has caused an internal EventQueue error. This error is specified by an identifier- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intBUFFER_TOO_SMALLError code-11: thrown when the buffer is too small to store the extended event data.static intLESS_THAN_2_BYTES_REMAININGError code-8: Less than 2 bytes remaining in the extended data.static intLESS_THAN_4_BYTES_REMAININGError code-9: thrown when less than 4 bytes remaining in the extended data.static intLESS_THAN_8_BYTES_REMAININGError code-10: thrown when less than 8 bytes remaining in the extended data.static intNO_REMAINING_BYTEError code-12: thrown if there is no byte remaining in the data of the extended event.
-
-
-
Field Detail
-
LESS_THAN_2_BYTES_REMAINING
public static final int LESS_THAN_2_BYTES_REMAINING
Error code-8: Less than 2 bytes remaining in the extended data. This can occur when callingEvent.readTwoBytes()- See Also:
- Constant Field Values
-
LESS_THAN_4_BYTES_REMAINING
public static final int LESS_THAN_4_BYTES_REMAINING
Error code-9: thrown when less than 4 bytes remaining in the extended data. This can occur when callingEvent.readFourBytes()- See Also:
- Constant Field Values
-
LESS_THAN_8_BYTES_REMAINING
public static final int LESS_THAN_8_BYTES_REMAINING
Error code-10: thrown when less than 8 bytes remaining in the extended data. This can occur when callingEvent.readEightBytes()- See Also:
- Constant Field Values
-
BUFFER_TOO_SMALL
public static final int BUFFER_TOO_SMALL
Error code-11: thrown when the buffer is too small to store the extended event data. This can occur when callingEvent.readFully(byte[])orEvent.read(byte[], int, int)- See Also:
- Constant Field Values
-
NO_REMAINING_BYTE
public static final int NO_REMAINING_BYTE
Error code-12: thrown if there is no byte remaining in the data of the extended event. This can occur when callingEvent.readOneByte()orEvent.readFully(byte[])orEvent.read(byte[], int, int)- See Also:
- Constant Field Values
-
-