com.interface21.util
Class ConstantException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--com.interface21.util.ConstantException
All Implemented Interfaces:
java.io.Serializable

public class ConstantException
extends java.lang.IllegalArgumentException

Exception thrown when the Constants class is asked for an invalid constant name.

Since:
28-Apr-2003
Version:
$Id: ConstantException.java,v 1.1 2003/04/29 20:49:55 johnsonr Exp $
Author:
Rod Johnson
See Also:
Constants, Serialized Form

Constructor Summary
ConstantException(java.lang.String field, java.lang.Class clazz, java.lang.String message)
          Thrown when an invalid constant name is requested
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantException

public ConstantException(java.lang.String field,
                         java.lang.Class clazz,
                         java.lang.String message)
Thrown when an invalid constant name is requested
Parameters:
field - invalid constant name
clazz - class containing the constant definitions
message - description of the problem


Rod Johnson and Spring contributors 2001-2003.