final class UnsupportedOperationExceptions
extends java.lang.Object
UnsupportedOperationException
to provide messages with consistent formatting.
TODO Consider making this public and use from LineIterator but this feels like it belongs in LANG rather than IO.
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
MARK_RESET |
Constructor and Description |
---|
UnsupportedOperationExceptions() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.UnsupportedOperationException |
mark()
Constructs a new instance of UnsupportedOperationException for a
mark method. |
(package private) static java.lang.UnsupportedOperationException |
method(java.lang.String method)
Constructs a new instance of UnsupportedOperationException for the given unsupported a
method name. |
(package private) static java.lang.UnsupportedOperationException |
reset()
Constructs a new instance of UnsupportedOperationException for a
reset method. |
private static final java.lang.String MARK_RESET
static java.lang.UnsupportedOperationException mark()
mark
method.static java.lang.UnsupportedOperationException method(java.lang.String method)
method
name.method
- A method namestatic java.lang.UnsupportedOperationException reset()
reset
method.