Package java.lang

Class UnsupportedOperationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ReadOnlyBufferException

public class UnsupportedOperationException
extends RuntimeException
Thrown when an unsupported operation is attempted.
See Also:
Serialized Form
  • Constructor Details

    • UnsupportedOperationException

      public UnsupportedOperationException()
      Constructs a new UnsupportedOperationException that includes the current stack trace.
    • UnsupportedOperationException

      public UnsupportedOperationException​(String detailMessage)
      Constructs a new UnsupportedOperationException with the current stack trace and the specified detail message.
      Parameters:
      detailMessage - the detail message for this exception.
    • UnsupportedOperationException

      public UnsupportedOperationException​(String message, Throwable cause)
      Constructs a new UnsupportedOperationException with the current stack trace, the specified detail message and the specified cause.
      Parameters:
      message - the detail message for this exception.
      cause - the optional cause of this exception, may be null.
      Since:
      1.5
    • UnsupportedOperationException

      public UnsupportedOperationException​(Throwable cause)
      Constructs a new UnsupportedOperationException with the current stack trace and the specified cause.
      Parameters:
      cause - the optional cause of this exception, may be null.
      Since:
      1.5