Class TransmissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.refcodes.exception.AbstractIOException
org.refcodes.serial.SerialException
org.refcodes.serial.TransmissionException
- All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap
- Direct Known Subclasses:
BadCrcChecksumException, BadMagicBytesException, FlowControlException, TransmissionSequenceException
Thrown in case a given
Transmission cannot be processed.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty -
Constructor Summary
ConstructorsConstructorDescriptionTransmissionException(String message) Instantiates the classTransmissionException.TransmissionException(String aMessage, String aErrorCode) Instantiates the classTransmissionException.TransmissionException(String message, Throwable cause) Instantiates the classTransmissionException.TransmissionException(String aMessage, Throwable aCause, String aErrorCode) Instantiates the classTransmissionException.TransmissionException(Throwable cause) Instantiates the classTransmissionException.TransmissionException(Throwable aCause, String aErrorCode) Instantiates the classTransmissionException. -
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
-
TransmissionException
Instantiates the classTransmissionException.- Parameters:
aMessage- the messageaErrorCode- the error code- See Also:
-
TransmissionException
Instantiates the classTransmissionException.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code- See Also:
-
TransmissionException
Instantiates the classTransmissionException.- Parameters:
message- the messagecause- the cause- See Also:
-
TransmissionException
Instantiates the classTransmissionException.- Parameters:
message- the message- See Also:
-
TransmissionException
Instantiates the classTransmissionException.- Parameters:
aCause- the causeaErrorCode- the error code- See Also:
-
TransmissionException
Instantiates the classTransmissionException.- Parameters:
cause- the cause- See Also:
-