public class SerialPortException extends RuntimeException
This class represents Exception that might occur in Serial interface.
Before using the Pi4J library, you need to ensure that the Java VM in configured with access to the following system libraries:
This library depends on the wiringPi native system library. (developed by Gordon Henderson @ http://wiringpi.com/)
Serial
,
https://www.pi4j.com/,
Serialized FormConstructor and Description |
---|
SerialPortException()
Default no argument constructor.
|
SerialPortException(String message)
Constructor with description.
|
SerialPortException(Throwable cause)
Constructor with cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SerialPortException()
public SerialPortException(String message)
message
- Description of error that occured.public SerialPortException(Throwable cause)
cause
- Cause of SerialException.Copyright © 2012–2021 Pi4J. All rights reserved.