Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.util
Class ValidationException  view ValidationException download ValidationException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.clra.util.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.Exception

Indicates data has failed validation rules. The accessor getType() indicates what type of data has failed validation.

Version:
$Id: ValidationException.java,v 1.5 2003/02/26 03:38:45 rphall Exp $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static int LOWER
           
static int MEMBER_ACCOUNT_NAME
           
static int MEMBER_ACCOUNT_PASSWORD
           
static int MEMBER_ACCOUNT_TYPE
           
static int MEMBER_ACCOUNT_YEAR
           
static int MEMBER_ADDRESS
           
static int MEMBER_ADDRESS_CITY
           
static int MEMBER_ADDRESS_STATE
           
static int MEMBER_ADDRESS_STREET1
           
static int MEMBER_ADDRESS_STREET2
           
static int MEMBER_ADDRESS_ZIP
           
static int MEMBER_BIRTH
           
static int MEMBER_EMAIL
           
static int MEMBER_ID
           
static int MEMBER_NAME
           
static int MEMBER_NAME_FIRST
           
static int MEMBER_NAME_LAST
           
static int MEMBER_TELEPHONE_COLLECTION
           
static int MEMBER_TELEPHONE_NUMBER
           
private  int type
           
static int UNKNOWN
           
private static int UPPER
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ValidationException(int type)
           
ValidationException(int type, java.lang.String devMsg)
           
ValidationException(java.lang.String devMsg)
           
 
Method Summary
 int getType()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

MEMBER_ID

public static final int MEMBER_ID
See Also:
Constant Field Values

MEMBER_ACCOUNT_NAME

public static final int MEMBER_ACCOUNT_NAME
See Also:
Constant Field Values

MEMBER_ACCOUNT_PASSWORD

public static final int MEMBER_ACCOUNT_PASSWORD
See Also:
Constant Field Values

MEMBER_ACCOUNT_TYPE

public static final int MEMBER_ACCOUNT_TYPE
See Also:
Constant Field Values

MEMBER_NAME

public static final int MEMBER_NAME
See Also:
Constant Field Values

MEMBER_NAME_FIRST

public static final int MEMBER_NAME_FIRST
See Also:
Constant Field Values

MEMBER_NAME_LAST

public static final int MEMBER_NAME_LAST
See Also:
Constant Field Values

MEMBER_EMAIL

public static final int MEMBER_EMAIL
See Also:
Constant Field Values

MEMBER_TELEPHONE_NUMBER

public static final int MEMBER_TELEPHONE_NUMBER
See Also:
Constant Field Values

MEMBER_TELEPHONE_COLLECTION

public static final int MEMBER_TELEPHONE_COLLECTION
See Also:
Constant Field Values

MEMBER_ADDRESS

public static final int MEMBER_ADDRESS
See Also:
Constant Field Values

MEMBER_ADDRESS_STREET1

public static final int MEMBER_ADDRESS_STREET1
See Also:
Constant Field Values

MEMBER_ADDRESS_STREET2

public static final int MEMBER_ADDRESS_STREET2
See Also:
Constant Field Values

MEMBER_ADDRESS_CITY

public static final int MEMBER_ADDRESS_CITY
See Also:
Constant Field Values

MEMBER_ADDRESS_STATE

public static final int MEMBER_ADDRESS_STATE
See Also:
Constant Field Values

MEMBER_ADDRESS_ZIP

public static final int MEMBER_ADDRESS_ZIP
See Also:
Constant Field Values

MEMBER_ACCOUNT_YEAR

public static final int MEMBER_ACCOUNT_YEAR
See Also:
Constant Field Values

MEMBER_BIRTH

public static final int MEMBER_BIRTH
See Also:
Constant Field Values

LOWER

private static final int LOWER
See Also:
Constant Field Values

UPPER

private static final int UPPER
See Also:
Constant Field Values

type

private final int type
Constructor Detail

ValidationException

public ValidationException(java.lang.String devMsg)

ValidationException

public ValidationException(int type)

ValidationException

public ValidationException(int type,
                           java.lang.String devMsg)
Method Detail

getType

public int getType()