Package java.nio

Class InvalidMarkException

All Implemented Interfaces:
Serializable

public class InvalidMarkException
extends IllegalStateException
An InvalidMarkException is thrown when reset() is called on a buffer, but no mark has been set previously.
See Also:
Serialized Form
  • Constructor Details

    • InvalidMarkException

      public InvalidMarkException()
      Constructs an InvalidMarkException.
    • InvalidMarkException

      public InvalidMarkException​(String detailMessage)
      Constructs an InvalidMarkException with the given detail message.