org.jfree.formula

Class LibFormulaErrorValue

Implemented Interfaces:
ErrorValue

public class LibFormulaErrorValue
extends java.lang.Object
implements ErrorValue

Creation-Date: 31.10.2006, 13:07:37
Author:
Thomas Morgner

Field Summary

static int
ERROR_ARGUMENTS
Invalid number of arguments error code
static LibFormulaErrorValue
ERROR_ARGUMENTS_VALUE
Invalid number of arguments error
static int
ERROR_ARITHMETIC
Number arithmetic error code
static LibFormulaErrorValue
ERROR_ARITHMETIC_VALUE
Number arithmetic error
static int
ERROR_ILLEGAL_ARRAY
static LibFormulaErrorValue
ERROR_ILLEGAL_ARRAY_VALUE
static int
ERROR_INVALID_ARGUMENT
Parameter types are invalid error code
static LibFormulaErrorValue
ERROR_INVALID_ARGUMENT_VALUE
Parameter types are invalid error
static int
ERROR_INVALID_AUTO_ARGUMENT
Parameter types are invalid error code
static LibFormulaErrorValue
ERROR_INVALID_AUTO_ARGUMENT_VALUE
Parameter types are invalid error
static int
ERROR_INVALID_CHARACTER
A parse error
static int
ERROR_INVALID_FUNCTION
Function name is invalid error code
static LibFormulaErrorValue
ERROR_INVALID_FUNCTION_VALUE
Function name is invalid error
static int
ERROR_NA
NA error code
static LibFormulaErrorValue
ERROR_NA_VALUE
NA error
static int
ERROR_NOT_FOUND
Occurence not found error code
static LibFormulaErrorValue
ERROR_NOT_FOUND_VALUE
Occurence not found error
static int
ERROR_REFERENCE_NOT_RESOLVABLE
static int
ERROR_UNEXPECTED
Unexpected error code
static LibFormulaErrorValue
ERROR_UNEXPECTED_VALUE
Unexpected error

Constructor Summary

LibFormulaErrorValue(int errorCode)

Method Summary

boolean
equals(Object obj)
int
getErrorCode()
String
getErrorMessage(Locale locale)
String
getNamespace()
String
toString()

Field Details

ERROR_ARGUMENTS

public static final int ERROR_ARGUMENTS
Invalid number of arguments error code
Field Value:
1

ERROR_ARGUMENTS_VALUE

public static final LibFormulaErrorValue ERROR_ARGUMENTS_VALUE
Invalid number of arguments error

ERROR_ARITHMETIC

public static final int ERROR_ARITHMETIC
Number arithmetic error code
Field Value:
503

ERROR_ARITHMETIC_VALUE

public static final LibFormulaErrorValue ERROR_ARITHMETIC_VALUE
Number arithmetic error

ERROR_ILLEGAL_ARRAY

public static final int ERROR_ILLEGAL_ARRAY
Field Value:
667

ERROR_ILLEGAL_ARRAY_VALUE

public static final LibFormulaErrorValue ERROR_ILLEGAL_ARRAY_VALUE

ERROR_INVALID_ARGUMENT

public static final int ERROR_INVALID_ARGUMENT
Parameter types are invalid error code
Field Value:
502

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
Field Value:
666

ERROR_INVALID_AUTO_ARGUMENT_VALUE

public static final LibFormulaErrorValue ERROR_INVALID_AUTO_ARGUMENT_VALUE
Parameter types are invalid error

ERROR_INVALID_CHARACTER

public static final int ERROR_INVALID_CHARACTER
A parse error
Field Value:
501

ERROR_INVALID_FUNCTION

public static final int ERROR_INVALID_FUNCTION
Function name is invalid error code
Field Value:
505

ERROR_INVALID_FUNCTION_VALUE

public static final LibFormulaErrorValue ERROR_INVALID_FUNCTION_VALUE
Function name is invalid error

ERROR_NA

public static final int ERROR_NA
NA error code
Field Value:
522

ERROR_NA_VALUE

public static final LibFormulaErrorValue ERROR_NA_VALUE
NA error

ERROR_NOT_FOUND

public static final int ERROR_NOT_FOUND
Occurence not found error code
Field Value:
504

ERROR_NOT_FOUND_VALUE

public static final LibFormulaErrorValue ERROR_NOT_FOUND_VALUE
Occurence not found error

ERROR_REFERENCE_NOT_RESOLVABLE

public static final int ERROR_REFERENCE_NOT_RESOLVABLE
Field Value:
499

ERROR_UNEXPECTED

public static final int ERROR_UNEXPECTED
Unexpected error code
Field Value:
0

ERROR_UNEXPECTED_VALUE

public static final LibFormulaErrorValue ERROR_UNEXPECTED_VALUE
Unexpected error

Constructor Details

LibFormulaErrorValue

public LibFormulaErrorValue(int errorCode)

Method Details

equals

public boolean equals(Object obj)

getErrorCode

public int getErrorCode()
Specified by:
getErrorCode in interface ErrorValue

getErrorMessage

public String getErrorMessage(Locale locale)
Specified by:
getErrorMessage in interface ErrorValue

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface ErrorValue

toString

public String toString()