Class SerialException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.refcodes.exception.AbstractIOException
org.refcodes.serial.SerialException
- All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap
- Direct Known Subclasses:
NoSuchPortExcpetion, TransmissionException
-
Nested Class Summary
Nested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty -
Constructor Summary
ConstructorsConstructorDescriptionSerialException(String message) Instantiates the classSerialException.SerialException(String aMessage, String aErrorCode) Instantiates the classSerialException.SerialException(String message, Throwable cause) Instantiates the classSerialException.SerialException(String aMessage, Throwable aCause, String aErrorCode) Instantiates the classSerialException.SerialException(Throwable cause) Instantiates the classSerialException.SerialException(Throwable aCause, String aErrorCode) Instantiates the classSerialException. -
Method Summary
Methods inherited from class AbstractIOException
getErrorCodeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
SerialException
Instantiates the classSerialException.- Parameters:
message- the messagecause- the cause- See Also:
-
SerialException
Instantiates the classSerialException.- Parameters:
message- the message- See Also:
-
SerialException
Instantiates the classSerialException.- Parameters:
cause- the cause- See Also:
-
SerialException
Instantiates the classSerialException.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code- See Also:
-
SerialException
Instantiates the classSerialException.- Parameters:
aMessage- the messageaErrorCode- the error code- See Also:
-
SerialException
Instantiates the classSerialException.- Parameters:
aCause- the causeaErrorCode- the error code- See Also:
-