org.sape.carbon.core.util.enum
Class EnumNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sape.carbon.core.exception.BaseException
                    |
                    +--org.sape.carbon.core.util.enum.EnumNotFoundException
All Implemented Interfaces:
Exceptionable, Serializable
Direct Known Subclasses:
BootStrapperStateEnum.BootStrapperStateEnumNotFoundException, DayOfWeekEnum.DayOfWeekEnumNotFoundException, LifecycleStateEnum.LifecycleStateEnumNotFoundException, MBeanOperationImpactEnum.MBeanOperationImpactEnumNotFoundException, MonthEnum.MonthEnumNotFoundException, OperationsImpactEnum.OperationsImpactEnumNotFoundException, QueueFullPolicyEnum.QueueFullPolicyEnumNotFoundException, ResultSetConcurrencyEnum.ResultSetConcurrencyEnumNotFoundException, ResultSetTypeEnum.ResultSetTypeEnumNotFoundException, SeverityEnum.SeverityEnumNotFoundException, TaskStatusEnum.TaskStatusEnumNotFoundException

public abstract class EnumNotFoundException
extends BaseException

This exception is thrown when an Enum lookup via name or ordinal fails.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.11 $($Author: dvoet $ / $Date: 2003/05/05 21:21:22 $)
Author:
Greg Hinkle, January 2002
See Also:
Serialized Form

Field Summary
private  String name
          The name of the enum that was searched for
 
Fields inherited from class org.sape.carbon.core.exception.BaseException
delegatedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
EnumNotFoundException(Class sourceClass, String name)
          Constructor for EnumNotFoundException.
 
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.BaseException
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
 

Field Detail

name

private String name
The name of the enum that was searched for

Constructor Detail

EnumNotFoundException

public EnumNotFoundException(Class sourceClass,
                             String name)
Constructor for EnumNotFoundException.

Parameters:
sourceClass -
name -
Method Detail

getSeverity

public SeverityEnum getSeverity()
Description copied from class: BaseException
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 BaseException
Returns:
the severity of this exception


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.