aicas logoJamaica 6.1 release 1

java.lang
Class UnsupportedOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.UnsupportedOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HeadlessException, ReadOnlyBufferException

public class UnsupportedOperationException
extends RuntimeException

UnsupportedOperationException is a runtime exception that may be thrown by a method that is not permitted, e.g., an abstract method that is implemented to permit compilation, but it is not supported by the implementation.

Since:
1.2
See Also:
Serialized Form

Constructor Summary
UnsupportedOperationException()
          Constructor for an UnsupportedOperationException with no detail message.
UnsupportedOperationException(String s)
          Constructor for an UnsupportedOperationException with given detail message.
UnsupportedOperationException(String s, Throwable ex)
          Constructor for a UnsupportedOperationException with given detail message and cause.
UnsupportedOperationException(Throwable ex)
          Constructor for a UnsupportedOperationException with given cause and detail message set to ex.toString().
 
Method Summary
 
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
 

Constructor Detail

UnsupportedOperationException

public UnsupportedOperationException()
Constructor for an UnsupportedOperationException with no detail message.


UnsupportedOperationException

public UnsupportedOperationException(String s)
Constructor for an UnsupportedOperationException with given detail message.

ensures

    (s != null IMPLIES getMessage().equals(s));
 

Parameters:
s - the detail message.

UnsupportedOperationException

public UnsupportedOperationException(Throwable ex)
Constructor for a UnsupportedOperationException with given cause and detail message set to ex.toString().

ensures

    (ex != null IMPLIES getCause() == ex && getMessage().equals(ex.toString()));
 

Parameters:
ex - the cause why this exception was created or null if none.
Since:
1.5

UnsupportedOperationException

public UnsupportedOperationException(String s,
                                     Throwable ex)
Constructor for a UnsupportedOperationException with given detail message and cause.

ensures

    (s  != null IMPLIES getMessage().equals(s),
     ex != null IMPLIES getCause() == ex);
 

Parameters:
s - the detail message.
ex - the cause why this exception was created or null if none.
Since:
1.5

aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.