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
AnInvalidMarkExceptionis thrown whenreset()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 Detail
-
InvalidMarkException
public InvalidMarkException()
Constructs anInvalidMarkException.
-
InvalidMarkException
public InvalidMarkException(String detailMessage)
Constructs anInvalidMarkExceptionwith the given detail message.
-
-