FileDocCategorySizeDatePackage
ConstraintExceptionType.javaAPI DocExample3606Sun Dec 14 22:47:38 GMT 2003oreilly.hcj.datamodeling.constraints

ConstraintExceptionType

public class ConstraintExceptionType extends oreilly.hcj.constants.ConstantObject
Defines valid types of constraint exceptions.
author
Robert Simmons jr.
version
$Revision: 1.1 $

Fields Summary
public static final ConstraintExceptionType
NULL_NOT_ALLOWED
Type for when a null is given but not allowed.
public static final ConstraintExceptionType
STRING_TOO_LONG
Type for when a String is too long.
public static final ConstraintExceptionType
ARRAY_TOO_LARGE
Type for when a String is too long.
public static final ConstraintExceptionType
VALUE_ABOVE_MAXIMUM
Type for when a number is too large.
public static final ConstraintExceptionType
VALUE_BELOW_MINIMUM
Type for when a number is too small.
public static final ConstraintExceptionType
COLLECTION_CANNOT_BE_EMPTY
Type for when an empty set is given.
public static final ConstraintExceptionType
MAP_CANNOT_BE_EMPTY
Type for when an empty map is given.
public static final ConstraintExceptionType
INVALID_MAP_KEY_TYPE
Type for when a map value is null.
public static final ConstraintExceptionType
INVALID_MAP_VALUE_TYPE
Type for when a map value is null.
public static final ConstraintExceptionType
MAP_CANNOT_HAVE_NULL_VALUE
Type for when a map value is null.
public static final ConstraintExceptionType
MAP_CONTAINS_INVALID_VALUE
Type for when a map value contains an invalid data type.
public static final ConstraintExceptionType
INVALID_COLLECTION_MEMBER
Type for when a set contains a type not expected.
public static final ConstraintExceptionType
INVALID_DATA_TYPE
Type for when a number is too small.
Constructors Summary
private ConstraintExceptionType(String name)
Creates a new instance of ConstraintExceptionType.

param
name The name for the ConstraintExceptionType.
see
mirror.utilities.ConstantObject

  //$NON-NLS-1$

	                	 
	    
		super(name);
	
Methods Summary