org.sape.carboncontrib.exception
Class UnsupportedOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sape.carbon.core.exception.BaseRuntimeException
org.sape.carboncontrib.exception.UnsupportedOperationException
- All Implemented Interfaces:
- org.sape.carbon.core.exception.Exceptionable, Serializable
- public class UnsupportedOperationException
- extends org.sape.carbon.core.exception.BaseRuntimeException
Thrown to indicate that the requested operation is not supported. Example, calling
addChild() on a leaf node in the Composite pattern. This exception has the same
purpose as java.lang.UnsupportedOperationException except that it is logged just
like other Carbon exceptions.
- See Also:
- Serialized Form
Fields inherited from class org.sape.carbon.core.exception.BaseRuntimeException |
delegatedException |
Fields inherited from class java.lang.Throwable |
|
Method Summary |
org.sape.carbon.core.util.classify.SeverityEnum |
getSeverity()
|
Methods inherited from class org.sape.carbon.core.exception.BaseRuntimeException |
getCause, getExceptionSource, getMessage, toString |
UnsupportedOperationException
public UnsupportedOperationException(Class sourceClass,
String message)
- Creates a UnsupportedOperationException.
- Parameters:
sourceClass
- the class where this exception was thrownmessage
- a message describing the reason for this exception
UnsupportedOperationException
public UnsupportedOperationException(Class sourceClass,
String message,
Throwable cause)
- Creates a UnsupportedOperationException.
- Parameters:
sourceClass
- the class where this exception was thrownmessage
- a message describing the reason for this exceptioncause
- the exception that caused this failure
getSeverity
public org.sape.carbon.core.util.classify.SeverityEnum getSeverity()
- See Also:
Exceptionable.getSeverity()
Copyright 2003 Sapient Corporation. All Rights Reserved.