Package org.apache.commons.io.input
Class UnsupportedOperationExceptions
java.lang.Object
org.apache.commons.io.input.UnsupportedOperationExceptions
Package-private factory for
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static UnsupportedOperationException
mark()
Constructs a new instance of UnsupportedOperationException for amark
method.(package private) static UnsupportedOperationException
Constructs a new instance of UnsupportedOperationException for the given unsupported amethod
name.(package private) static UnsupportedOperationException
reset()
Constructs a new instance of UnsupportedOperationException for areset
method.
-
Field Details
-
MARK_RESET
- See Also:
-
-
Constructor Details
-
UnsupportedOperationExceptions
UnsupportedOperationExceptions()
-
-
Method Details
-
mark
Constructs a new instance of UnsupportedOperationException for amark
method.- Returns:
- a new instance of UnsupportedOperationException
-
method
Constructs a new instance of UnsupportedOperationException for the given unsupported amethod
name.- Parameters:
method
- A method name- Returns:
- a new instance of UnsupportedOperationException
-
reset
Constructs a new instance of UnsupportedOperationException for areset
method.- Returns:
- a new instance of UnsupportedOperationException
-