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 UnsupportedOperationExceptionmark()Creates a new instance of UnsupportedOperationException for amarkmethod.(package private) static UnsupportedOperationExceptionCreates a new instance of UnsupportedOperationException for the given unsupported amethodname.(package private) static UnsupportedOperationExceptionreset()Creates a new instance of UnsupportedOperationException for aresetmethod.
-
Field Details
-
MARK_RESET
- See Also:
-
-
Constructor Details
-
UnsupportedOperationExceptions
UnsupportedOperationExceptions()
-
-
Method Details
-
mark
Creates a new instance of UnsupportedOperationException for amarkmethod.- Returns:
- a new instance of UnsupportedOperationException
-
method
Creates a new instance of UnsupportedOperationException for the given unsupported amethodname.- Parameters:
method- A method name- Returns:
- a new instance of UnsupportedOperationException
-
reset
Creates a new instance of UnsupportedOperationException for aresetmethod.- Returns:
- a new instance of UnsupportedOperationException
-