Package org.osgi.service.serial
Class SerialDeviceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.osgi.service.serial.SerialDeviceException
-
- All Implemented Interfaces:
java.io.Serializable
public class SerialDeviceException extends java.lang.Exception
A exception used to indicate that a serial device communication problem occurred.- Author:
- $Id: 6a95abf56ab516ba7b0fb5b0d779db86ec840ca6 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
PORT_IN_USE
The port in use.static int
UNKNOWN
The reason is unknown.static int
UNSUPPORTED_OPERATION
The operation is unsupported.
-
Constructor Summary
Constructors Constructor Description SerialDeviceException(int type, java.lang.String message)
Creates a SerialDeviceException with the specified type and message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
Returns the type for this exception.
-
-
-
Field Detail
-
UNKNOWN
public static final int UNKNOWN
The reason is unknown.- See Also:
- Constant Field Values
-
PORT_IN_USE
public static final int PORT_IN_USE
The port in use.- See Also:
- Constant Field Values
-
UNSUPPORTED_OPERATION
public static final int UNSUPPORTED_OPERATION
The operation is unsupported.- See Also:
- Constant Field Values
-
-