Module java.desktop

Class UnmodifiableSetException

  • All Implemented Interfaces:
    Serializable

    public class UnmodifiableSetException
    extends RuntimeException
    Thrown to indicate that the requested operation cannot be performed because the set is unmodifiable.
    Since:
    1.4
    See Also:
    Serialized Form
    • Constructor Detail

      • UnmodifiableSetException

        public UnmodifiableSetException()
        Constructs an UnsupportedOperationException with no detail message.
      • UnmodifiableSetException

        public UnmodifiableSetException​(String message)
        Constructs an UnmodifiableSetException with the specified detail message.
        Parameters:
        message - the detail message