FileDocCategorySizeDatePackage
Constants.javaAPI DocGlassfish v2 API7657Sat May 05 19:17:26 BST 2007org.apache.taglibs.standard.lang.jstl

Constants

public class Constants extends Object

This contains all of the non-public constants, including messsage strings read from the resource file.

author
Nathan Abramson - Art Technology Group
author
Shawn Bayern
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
static ResourceBundle
sResources
public static final String
EXCEPTION_GETTING_BEANINFO
public static final String
NULL_EXPRESSION_STRING
public static final String
PARSE_EXCEPTION
public static final String
CANT_GET_PROPERTY_OF_NULL
public static final String
NO_SUCH_PROPERTY
public static final String
NO_GETTER_METHOD
public static final String
ERROR_GETTING_PROPERTY
public static final String
CANT_GET_INDEXED_VALUE_OF_NULL
public static final String
CANT_GET_NULL_INDEX
public static final String
NULL_INDEX
public static final String
BAD_INDEX_VALUE
public static final String
EXCEPTION_ACCESSING_LIST
public static final String
EXCEPTION_ACCESSING_ARRAY
public static final String
CANT_FIND_INDEX
public static final String
TOSTRING_EXCEPTION
public static final String
BOOLEAN_TO_NUMBER
public static final String
STRING_TO_NUMBER_EXCEPTION
public static final String
COERCE_TO_NUMBER
public static final String
BOOLEAN_TO_CHARACTER
public static final String
EMPTY_STRING_TO_CHARACTER
public static final String
COERCE_TO_CHARACTER
public static final String
NULL_TO_BOOLEAN
public static final String
STRING_TO_BOOLEAN
public static final String
COERCE_TO_BOOLEAN
public static final String
COERCE_TO_OBJECT
public static final String
NO_PROPERTY_EDITOR
public static final String
PROPERTY_EDITOR_ERROR
public static final String
ARITH_OP_NULL
public static final String
ARITH_OP_BAD_TYPE
public static final String
ARITH_ERROR
public static final String
ERROR_IN_EQUALS
public static final String
UNARY_OP_BAD_TYPE
public static final String
NAMED_VALUE_NOT_FOUND
public static final String
CANT_GET_INDEXED_PROPERTY
public static final String
COMPARABLE_ERROR
public static final String
BAD_IMPLICIT_OBJECT
public static final String
ATTRIBUTE_EVALUATION_EXCEPTION
public static final String
ATTRIBUTE_PARSE_EXCEPTION
public static final String
UNKNOWN_FUNCTION
public static final String
INAPPROPRIATE_FUNCTION_ARG_COUNT
public static final String
FUNCTION_INVOCATION_ERROR
Constructors Summary
Methods Summary
public static java.lang.StringgetStringResource(java.lang.String pResourceName)



  //-------------------------------------
  // Getting resources
  //-------------------------------------
      
       
     
  
    try {
      String ret = sResources.getString (pResourceName);
      if (ret == null) {
	String str = "ERROR: Unable to load resource " + pResourceName;
	System.err.println (str);
	throw new MissingResourceException 
	  (str, 
	   "org.apache.taglibs.standard.lang.jstl.Constants",
	   pResourceName);
      }
      else {
	return ret;
      }
    }
    catch (MissingResourceException exc) {
      System.err.println ("ERROR: Unable to load resource " +
			  pResourceName +
			  ": " +
			  exc);
      throw exc;
    }