java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.refcodes.exception.AbstractIOException
org.refcodes.serial.SerialException
org.refcodes.serial.TransmissionException
org.refcodes.serial.TransmissionSequenceException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
,org.refcodes.mixin.LengthAccessor
,org.refcodes.mixin.OffsetAccessor
,SequenceAccessor
- Direct Known Subclasses:
BadCrcChecksumSequenceException
public class TransmissionSequenceException
extends TransmissionException
implements SequenceAccessor, org.refcodes.mixin.LengthAccessor, org.refcodes.mixin.OffsetAccessor
Thrown in case a given
Sequence
cannot be processed.- 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
Nested classes/interfaces inherited from interface org.refcodes.mixin.LengthAccessor
org.refcodes.mixin.LengthAccessor.LengthBuilder<B extends org.refcodes.mixin.LengthAccessor.LengthBuilder<B>>, org.refcodes.mixin.LengthAccessor.LengthMutator, org.refcodes.mixin.LengthAccessor.LengthProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.OffsetAccessor
org.refcodes.mixin.OffsetAccessor.OffsetBuilder<B extends org.refcodes.mixin.OffsetAccessor.OffsetBuilder<B>>, org.refcodes.mixin.OffsetAccessor.OffsetMutator, org.refcodes.mixin.OffsetAccessor.OffsetProperty
Nested classes/interfaces inherited from interface org.refcodes.serial.SequenceAccessor
SequenceAccessor.SequenceBuilder<B extends SequenceAccessor.SequenceBuilder<B>>, SequenceAccessor.SequenceMutator, SequenceAccessor.SequenceProperty
-
Constructor Summary
ConstructorDescriptionTransmissionSequenceException
(Sequence aSequence, int aOffset, int aLength, String message) TransmissionSequenceException
(Sequence aSequence, int aOffset, int aLength, String aMessage, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, int aOffset, int aLength, String message, Throwable cause) TransmissionSequenceException
(Sequence aSequence, int aOffset, int aLength, String aMessage, Throwable aCause, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, int aOffset, int aLength, Throwable cause) TransmissionSequenceException
(Sequence aSequence, int aOffset, int aLength, Throwable aCause, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, int aOffset, String message) TransmissionSequenceException
(Sequence aSequence, int aOffset, String aMessage, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, int aOffset, String message, Throwable cause) TransmissionSequenceException
(Sequence aSequence, int aOffset, String aMessage, Throwable aCause, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, int aOffset, Throwable cause) TransmissionSequenceException
(Sequence aSequence, int aOffset, Throwable aCause, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, String message) TransmissionSequenceException
(Sequence aSequence, String aMessage, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, String message, Throwable cause) TransmissionSequenceException
(Sequence aSequence, String aMessage, Throwable aCause, String aErrorCode) TransmissionSequenceException
(Sequence aSequence, Throwable cause) TransmissionSequenceException
(Sequence aSequence, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractIOException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
TransmissionSequenceException
- Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
- Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
- Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
public TransmissionSequenceException(Sequence aSequence, String aMessage, Throwable aCause, String aErrorCode) - Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
- Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
- Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
public TransmissionSequenceException(Sequence aSequence, int aOffset, Throwable aCause, String aErrorCode) - Parameters:
aSequence
- The involvedSequence
.
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
TransmissionSequenceException
-
-
Method Details
-
getSequence
Retrieves the value from theSequence
property.- Specified by:
getSequence
in interfaceSequenceAccessor
- Returns:
- The
Sequence
stored by theSequence
property.
-
getOffset
public int getOffset()- Specified by:
getOffset
in interfaceorg.refcodes.mixin.OffsetAccessor
-
getLength
public int getLength()- Specified by:
getLength
in interfaceorg.refcodes.mixin.LengthAccessor
-