Package com.rm5248.serial
Class NotASerialPortException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.rm5248.serial.NotASerialPortException
-
- All Implemented Interfaces:
Serializable
public class NotASerialPortException extends Exception
This exception is thrown when the device that you have opened is not a serial port.- Author:
- rm5248
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotASerialPortException(String message)Create a new exception if this is not a serial port
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotASerialPortException
public NotASerialPortException(String message)
Create a new exception if this is not a serial port- Parameters:
message-
-
-