Package java.nio
Class InvalidMarkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
java.nio.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 Summary
Constructors Constructor Description InvalidMarkException()Constructs anInvalidMarkException.InvalidMarkException(String detailMessage)Constructs anInvalidMarkExceptionwith the given detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidMarkException
public InvalidMarkException()Constructs anInvalidMarkException. -
InvalidMarkException
Constructs anInvalidMarkExceptionwith the given detail message.
-