org.sape.carboncontrib.exception
Class UnsupportedOperationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.sape.carbon.core.exception.BaseRuntimeException
                  extended byorg.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

Field Summary
 
Fields inherited from class org.sape.carbon.core.exception.BaseRuntimeException
delegatedException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
UnsupportedOperationException(Class sourceClass, String message)
          Creates a UnsupportedOperationException.
UnsupportedOperationException(Class sourceClass, String message, Throwable cause)
          Creates a UnsupportedOperationException.
 
Method Summary
 org.sape.carbon.core.util.classify.SeverityEnum getSeverity()
           
 
Methods inherited from class org.sape.carbon.core.exception.BaseRuntimeException
getCause, getExceptionSource, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedOperationException

public UnsupportedOperationException(Class sourceClass,
                                     String message)
Creates a UnsupportedOperationException.

Parameters:
sourceClass - the class where this exception was thrown
message - 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 thrown
message - a message describing the reason for this exception
cause - the exception that caused this failure
Method Detail

getSeverity

public org.sape.carbon.core.util.classify.SeverityEnum getSeverity()
See Also:
Exceptionable.getSeverity()


Copyright 2003 Sapient Corporation. All Rights Reserved.