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