Class UnsupportedOperationExceptions

java.lang.Object
org.apache.commons.io.input.UnsupportedOperationExceptions

final class UnsupportedOperationExceptions extends Object
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 Details

  • Constructor Details

    • UnsupportedOperationExceptions

      UnsupportedOperationExceptions()
  • Method Details

    • mark

      Constructs a new instance of UnsupportedOperationException for a mark method.
      Returns:
      a new instance of UnsupportedOperationException
    • method

      static UnsupportedOperationException method(String method)
      Constructs a new instance of UnsupportedOperationException for the given unsupported a method name.
      Parameters:
      method - A method name
      Returns:
      a new instance of UnsupportedOperationException
    • reset

      Constructs a new instance of UnsupportedOperationException for a reset method.
      Returns:
      a new instance of UnsupportedOperationException