Package org.apache.commons.io.input
Class UnsupportedOperationExceptions
- java.lang.Object
-
- org.apache.commons.io.input.UnsupportedOperationExceptions
-
class UnsupportedOperationExceptions extends java.lang.Object
Package-private factory forUnsupportedOperationException
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 Modifier and Type Field Description private static java.lang.String
MARK_RESET
-
Constructor Summary
Constructors Constructor Description UnsupportedOperationExceptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.UnsupportedOperationException
mark()
Creates a new instance of UnsupportedOperationException for amark
method.(package private) static java.lang.UnsupportedOperationException
method(java.lang.String method)
Creates a new instance of UnsupportedOperationException for the given unsupported amethod
name.(package private) static java.lang.UnsupportedOperationException
reset()
Creates a new instance of UnsupportedOperationException for areset
method.
-
-
-
Field Detail
-
MARK_RESET
private static final java.lang.String MARK_RESET
- See Also:
- Constant Field Values
-
-
Method Detail
-
mark
static java.lang.UnsupportedOperationException mark()
Creates a new instance of UnsupportedOperationException for amark
method.- Returns:
- a new instance of UnsupportedOperationException
-
method
static java.lang.UnsupportedOperationException method(java.lang.String method)
Creates a new instance of UnsupportedOperationException for the given unsupported amethod
name.- Parameters:
method
- A method name- Returns:
- a new instance of UnsupportedOperationException
-
reset
static java.lang.UnsupportedOperationException reset()
Creates a new instance of UnsupportedOperationException for areset
method.- Returns:
- a new instance of UnsupportedOperationException
-
-