Class UnsupportedOperationExceptions


  • class UnsupportedOperationExceptions
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String MARK_RESET  
    • 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 a mark method.
      (package private) static java.lang.UnsupportedOperationException method​(java.lang.String method)
      Creates a new instance of UnsupportedOperationException for the given unsupported a method name.
      (package private) static java.lang.UnsupportedOperationException reset()
      Creates a new instance of UnsupportedOperationException for a reset method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnsupportedOperationExceptions

        UnsupportedOperationExceptions()
    • Method Detail

      • mark

        static java.lang.UnsupportedOperationException mark()
        Creates a new instance of UnsupportedOperationException for a mark 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 a method 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 a reset method.
        Returns:
        a new instance of UnsupportedOperationException