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,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
- Direct Known Subclasses:
NoSuchPortExcpetion,TransmissionException
public class SerialException
extends org.refcodes.exception.AbstractIOException
Base exception for this package.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.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 org.refcodes.exception.AbstractIOException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.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:
-