Class 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:
  • Constructor Details

    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, String message, Throwable cause)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, String message)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, Throwable cause)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, String aMessage, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, Throwable aCause, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, String message, Throwable cause)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, String message)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, Throwable cause)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, String aMessage, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, Throwable aCause, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, int aLength, String message, Throwable cause)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
      aLength - The length of the erroneous Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, int aLength, String message)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
      aLength - The length of the erroneous Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, int aLength, Throwable cause)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
      aLength - The length of the erroneous Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, int aLength, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
      aLength - The length of the erroneous Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, int aLength, String aMessage, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
      aOffset - The Sequence offset regarding the problem.
      aLength - The length of the erroneous Sequence.
    • TransmissionSequenceException

      public TransmissionSequenceException(Sequence aSequence, int aOffset, int aLength, Throwable aCause, String aErrorCode)
      Parameters:
      aSequence - The involved Sequence.
      aLength - The length of the erroneous Sequence.
  • Method Details

    • getSequence

      public Sequence getSequence()
      Retrieves the value from the Sequence property.
      Specified by:
      getSequence in interface SequenceAccessor
      Returns:
      The Sequence stored by the Sequence property.
    • getOffset

      public int getOffset()
      Specified by:
      getOffset in interface org.refcodes.mixin.OffsetAccessor
    • getLength

      public int getLength()
      Specified by:
      getLength in interface org.refcodes.mixin.LengthAccessor