Class AbstractStreamDecoder.MalformedFrameException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    AbstractStreamDecoder<M,​MT extends java.lang.Enum<MT>,​ST extends java.lang.Enum<ST>>

    public static final class AbstractStreamDecoder.MalformedFrameException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int readFrom  
      private int readTo  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasValidPositions()  
      int readFrom()  
      int readTo()  
      • 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
    • Field Detail

      • readFrom

        private final int readFrom
      • readTo

        private final int readTo
    • Constructor Detail

      • MalformedFrameException

        public MalformedFrameException​(int readFrom,
                                       int readTo)
    • Method Detail

      • readFrom

        public int readFrom()
      • readTo

        public int readTo()
      • hasValidPositions

        public boolean hasValidPositions()