|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
public class UnsupportedOperationException
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.
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 |
---|
public UnsupportedOperationException()
public UnsupportedOperationException(String s)
ensures
(s != null IMPLIES getMessage().equals(s));
s
- the detail message.public UnsupportedOperationException(Throwable ex)
ensures
(ex != null IMPLIES getCause() == ex && getMessage().equals(ex.toString()));
ex
- the cause why this exception was created or null if
none.public UnsupportedOperationException(String s, Throwable ex)
ensures
(s != null IMPLIES getMessage().equals(s), ex != null IMPLIES getCause() == ex);
s
- the detail message.ex
- the cause why this exception was created or null if
none.
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |