Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.lang
Class UnsupportedOperationException  view UnsupportedOperationException download UnsupportedOperationException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.UnsupportedOperationException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedOperationException
extends RuntimeException

This exception is thrown by an object when an operation is requested of it that it does not support.

Since:
1.2

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Compatible with JDK 1.2+.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
UnsupportedOperationException()
          Create an exception without a message.
UnsupportedOperationException(String s)
          Create an exception with a message.
UnsupportedOperationException(String message, Throwable cause)
           Constructs a UnsupportedOperationException using the specified error message, which should give further details as to the reason for this exception.
UnsupportedOperationException(Throwable cause)
           Constructs a UnsupportedOperationException using the specified cause Throwable, which may be used to provide additional history, with regards to the root of the problem.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Compatible with JDK 1.2+.

See Also:
Constant Field Values
Constructor Detail

UnsupportedOperationException

public UnsupportedOperationException()
Create an exception without a message.


UnsupportedOperationException

public UnsupportedOperationException(String s)
Create an exception with a message.


UnsupportedOperationException

public UnsupportedOperationException(String message,
                                     Throwable cause)

Constructs a UnsupportedOperationException using the specified error message, which should give further details as to the reason for this exception. The specified cause Throwable may be used to provide additional history, with regards to the root of the problem. It is perfectly valid for this to be null, if the cause of the problem is unknown.

Note: the detail message from the cause is not automatically incorporated into the resulting detail message of this exception.

Since:
1.5

UnsupportedOperationException

public UnsupportedOperationException(Throwable cause)

Constructs a UnsupportedOperationException using the specified cause Throwable, which may be used to provide additional history, with regards to the root of the problem. It is perfectly valid for this to be null, if the cause of the problem is unknown.

The detail message is automatically constructed from the detail message of the supplied causal exception. If the cause is null, then the detail message will also be null. Otherwise, the detail message of this exception will be that of the causal exception. This makes this constructor very useful for simply wrapping another exception.

Since:
1.5