org.sape.carbon.core.util.reflection
Class ReflectionRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.sape.carbon.core.exception.BaseRuntimeException
                          |
                          +--org.sape.carbon.core.util.reflection.ReflectionRuntimeException
All Implemented Interfaces:
Exceptionable, Serializable
Direct Known Subclasses:
PropertyNotFoundException

public abstract class ReflectionRuntimeException
extends BaseRuntimeException

This is the abstract-base exception for runtime exceptions in the reflection utilities.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.6 $($Author: dvoet $ / $Date: 2003/05/05 21:21:23 $)
Author:
Jordan Reed, August 2002
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
ReflectionRuntimeException(Class sourceClass, String message)
          Constructor for ReflectionRuntimeException.
ReflectionRuntimeException(Class sourceClass, String message, Throwable cause)
          Constructor for ReflectionRuntimeException.
 
Method Summary
 SeverityEnum getSeverity()
          This method must be overriden by subclasses so that they may declare their severity
 
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

ReflectionRuntimeException

public ReflectionRuntimeException(Class sourceClass,
                                  String message)
Constructor for ReflectionRuntimeException.

Parameters:
sourceClass - the source class of the exception
message - a message describing the failure

ReflectionRuntimeException

public ReflectionRuntimeException(Class sourceClass,
                                  String message,
                                  Throwable cause)
Constructor for ReflectionRuntimeException.

Parameters:
sourceClass - the source class of the exception
message - a message describing the failure
cause - the exception that caused this failure
Method Detail

getSeverity

public SeverityEnum getSeverity()
Description copied from class: BaseRuntimeException
This method must be overriden by subclasses so that they may declare their severity

Specified by:
getSeverity in interface Exceptionable
Specified by:
getSeverity in class BaseRuntimeException
Returns:
the severity of this exception


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.