Class LibFormulaErrorValue
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.LibFormulaErrorValue
-
- All Implemented Interfaces:
java.io.Serializable,ErrorValue
public class LibFormulaErrorValue extends java.lang.Object implements ErrorValue
Creation-Date: 31.10.2006, 13:07:37- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intERROR_ARGUMENTSInvalid number of arguments error codestatic LibFormulaErrorValueERROR_ARGUMENTS_VALUEInvalid number of arguments errorstatic intERROR_ARITHMETICNumber arithmetic error codestatic LibFormulaErrorValueERROR_ARITHMETIC_VALUENumber arithmetic errorstatic intERROR_ILLEGAL_ARRAYstatic LibFormulaErrorValueERROR_ILLEGAL_ARRAY_VALUEstatic intERROR_INVALID_ARGUMENTParameter types are invalid error codestatic LibFormulaErrorValueERROR_INVALID_ARGUMENT_VALUEParameter types are invalid errorstatic intERROR_INVALID_AUTO_ARGUMENTParameter types are invalid error codestatic LibFormulaErrorValueERROR_INVALID_AUTO_ARGUMENT_VALUEParameter types are invalid errorstatic intERROR_INVALID_CHARACTERA parse errorstatic intERROR_INVALID_FUNCTIONFunction name is invalid error codestatic LibFormulaErrorValueERROR_INVALID_FUNCTION_VALUEFunction name is invalid errorstatic ErrorValueERROR_MISSING_ARGUMENT_VALUEstatic intERROR_MISSING_VARIABLEstatic intERROR_NANA error codestatic LibFormulaErrorValueERROR_NA_VALUENA errorstatic intERROR_NOT_FOUNDOccurence not found error codestatic LibFormulaErrorValueERROR_NOT_FOUND_VALUEOccurence not found errorstatic intERROR_REFERENCE_NOT_RESOLVABLEstatic intERROR_UNEXPECTEDUnexpected error codestatic LibFormulaErrorValueERROR_UNEXPECTED_VALUEUnexpected error
-
Constructor Summary
Constructors Constructor Description LibFormulaErrorValue(int errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetErrorCode()java.lang.StringgetErrorMessage(java.util.Locale locale)java.lang.StringgetNamespace()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
ERROR_REFERENCE_NOT_RESOLVABLE
public static final int ERROR_REFERENCE_NOT_RESOLVABLE
- See Also:
- Constant Field Values
-
ERROR_INVALID_CHARACTER
public static final int ERROR_INVALID_CHARACTER
A parse error- See Also:
- Constant Field Values
-
ERROR_INVALID_FUNCTION
public static final int ERROR_INVALID_FUNCTION
Function name is invalid error code- See Also:
- Constant Field Values
-
ERROR_INVALID_FUNCTION_VALUE
public static final LibFormulaErrorValue ERROR_INVALID_FUNCTION_VALUE
Function name is invalid error
-
ERROR_INVALID_ARGUMENT
public static final int ERROR_INVALID_ARGUMENT
Parameter types are invalid error code- See Also:
- Constant Field Values
-
ERROR_INVALID_ARGUMENT_VALUE
public static final LibFormulaErrorValue ERROR_INVALID_ARGUMENT_VALUE
Parameter types are invalid error
-
ERROR_INVALID_AUTO_ARGUMENT
public static final int ERROR_INVALID_AUTO_ARGUMENT
Parameter types are invalid error code- See Also:
- Constant Field Values
-
ERROR_INVALID_AUTO_ARGUMENT_VALUE
public static final LibFormulaErrorValue ERROR_INVALID_AUTO_ARGUMENT_VALUE
Parameter types are invalid error
-
ERROR_ILLEGAL_ARRAY
public static final int ERROR_ILLEGAL_ARRAY
- See Also:
- Constant Field Values
-
ERROR_ILLEGAL_ARRAY_VALUE
public static final LibFormulaErrorValue ERROR_ILLEGAL_ARRAY_VALUE
-
ERROR_ARITHMETIC
public static final int ERROR_ARITHMETIC
Number arithmetic error code- See Also:
- Constant Field Values
-
ERROR_ARITHMETIC_VALUE
public static final LibFormulaErrorValue ERROR_ARITHMETIC_VALUE
Number arithmetic error
-
ERROR_ARGUMENTS
public static final int ERROR_ARGUMENTS
Invalid number of arguments error code- See Also:
- Constant Field Values
-
ERROR_ARGUMENTS_VALUE
public static final LibFormulaErrorValue ERROR_ARGUMENTS_VALUE
Invalid number of arguments error
-
ERROR_NOT_FOUND
public static final int ERROR_NOT_FOUND
Occurence not found error code- See Also:
- Constant Field Values
-
ERROR_NOT_FOUND_VALUE
public static final LibFormulaErrorValue ERROR_NOT_FOUND_VALUE
Occurence not found error
-
ERROR_NA
public static final int ERROR_NA
NA error code- See Also:
- Constant Field Values
-
ERROR_NA_VALUE
public static final LibFormulaErrorValue ERROR_NA_VALUE
NA error
-
ERROR_UNEXPECTED
public static final int ERROR_UNEXPECTED
Unexpected error code- See Also:
- Constant Field Values
-
ERROR_UNEXPECTED_VALUE
public static final LibFormulaErrorValue ERROR_UNEXPECTED_VALUE
Unexpected error
-
ERROR_MISSING_VARIABLE
public static final int ERROR_MISSING_VARIABLE
- See Also:
- Constant Field Values
-
ERROR_MISSING_ARGUMENT_VALUE
public static final ErrorValue ERROR_MISSING_ARGUMENT_VALUE
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespacein interfaceErrorValue
-
getErrorCode
public int getErrorCode()
- Specified by:
getErrorCodein interfaceErrorValue
-
getErrorMessage
public java.lang.String getErrorMessage(java.util.Locale locale)
- Specified by:
getErrorMessagein interfaceErrorValue
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-