Package com.diozero.api
Class I2CException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.diozero.api.RuntimeIOException
-
- com.diozero.api.I2CException
-
- All Implemented Interfaces:
Serializable
public class I2CException extends RuntimeIOException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description I2CException(int code)
I2CException(String message, int code)
-
Method Summary
-
Methods inherited from class com.diozero.api.RuntimeIOException
getError
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
I2CException
public I2CException(int code)
-
I2CException
public I2CException(String message, int code)
-
-