Package org.apache.commons.io.input
Class UnsupportedOperationExceptions
- java.lang.Object
-
- org.apache.commons.io.input.UnsupportedOperationExceptions
-
final class UnsupportedOperationExceptions extends java.lang.ObjectPackage-private factory forUnsupportedOperationExceptionto 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.StringMARK_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.UnsupportedOperationExceptionmark()Constructs a new instance of UnsupportedOperationException for amarkmethod.(package private) static java.lang.UnsupportedOperationExceptionmethod(java.lang.String method)Constructs a new instance of UnsupportedOperationException for the given unsupported amethodname.(package private) static java.lang.UnsupportedOperationExceptionreset()Constructs a new instance of UnsupportedOperationException for aresetmethod.
-
-
-
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()
Constructs a new instance of UnsupportedOperationException for amarkmethod.- Returns:
- a new instance of UnsupportedOperationException
-
method
static java.lang.UnsupportedOperationException method(java.lang.String method)
Constructs a new instance of UnsupportedOperationException for the given unsupported amethodname.- Parameters:
method- A method name- Returns:
- a new instance of UnsupportedOperationException
-
reset
static java.lang.UnsupportedOperationException reset()
Constructs a new instance of UnsupportedOperationException for aresetmethod.- Returns:
- a new instance of UnsupportedOperationException
-
-