| Modifier and Type | Field and Description |
|---|---|
| public static final int | PORT_IN_USE
The port in use. |
| private static final long | |
| private final int | |
| public static final int | UNKNOWN
The reason is unknown. |
| public static final int | UNSUPPORTED_OPERATION
The operation is unsupported. |
| Access | Constructor and Description |
|---|---|
| public | SerialDeviceException(int
The type for this exception. type, String The message. message)Creates a SerialDeviceException with the specified type and message. |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| PORT_IN_USE | back to summary |
|---|---|
| public static final int PORT_IN_USE The port in use. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| private final int type | |
| UNKNOWN | back to summary |
|---|---|
| public static final int UNKNOWN The reason is unknown. | |
| UNSUPPORTED_OPERATION | back to summary |
|---|---|
| public static final int UNSUPPORTED_OPERATION The operation is unsupported. | |
| SerialDeviceException | back to summary |
|---|---|
| public SerialDeviceException(int type, String message) Creates a SerialDeviceException with the specified type and message.
| |
| getType | back to summary |
|---|---|
| public int getType() Returns the type for this exception.
| |