org.jqurantree.core.error
Class Errors

java.lang.Object
  extended by org.jqurantree.core.error.Errors

public class Errors
extends java.lang.Object

Utility class which contains the list of error messages generated by the API when throwing exceptions.

Author:
Kais Dukes

Field Summary
static java.lang.String FILE_NOT_FOUND
          "The specified file could not be found."
static java.lang.String IMMUTABLE_COLLECTION
          "The collection is immutable and cannot be modified."
static java.lang.String INVALID_CHAPTER_NUMBER
          "Chapter numbers should be between 1 and 114 inclusive."
static java.lang.String INVALID_COLUMN_NAME
          "The specific column could not be found."
static java.lang.String INVALID_ENCODING_TYPE
          "The specified encoding type is not supported."
static java.lang.String INVALID_TANZIL_XML
          "Failed to read Tanzil XML."
static java.lang.String INVALID_VERSE_NUMBER
          "The verse number is out of range."
static java.lang.String RESOURCE_CLOSE_FAILED
          "Failed to close embedded JAR resource."
static java.lang.String RESOURCE_NOT_FOUND
          "The embedded JAR resource could not be found."
static java.lang.String RESOURCE_READ_FAILED
          "Failed to read embedded JAR resource."
 
Method Summary
static int getErrorCount()
          Gets the total number of error messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_TANZIL_XML

public static final java.lang.String INVALID_TANZIL_XML
"Failed to read Tanzil XML."

See Also:
Constant Field Values

INVALID_CHAPTER_NUMBER

public static final java.lang.String INVALID_CHAPTER_NUMBER
"Chapter numbers should be between 1 and 114 inclusive."

See Also:
Constant Field Values

INVALID_VERSE_NUMBER

public static final java.lang.String INVALID_VERSE_NUMBER
"The verse number is out of range."

See Also:
Constant Field Values

IMMUTABLE_COLLECTION

public static final java.lang.String IMMUTABLE_COLLECTION
"The collection is immutable and cannot be modified."

See Also:
Constant Field Values

INVALID_ENCODING_TYPE

public static final java.lang.String INVALID_ENCODING_TYPE
"The specified encoding type is not supported."

See Also:
Constant Field Values

INVALID_COLUMN_NAME

public static final java.lang.String INVALID_COLUMN_NAME
"The specific column could not be found."

See Also:
Constant Field Values

RESOURCE_NOT_FOUND

public static final java.lang.String RESOURCE_NOT_FOUND
"The embedded JAR resource could not be found."

See Also:
Constant Field Values

RESOURCE_CLOSE_FAILED

public static final java.lang.String RESOURCE_CLOSE_FAILED
"Failed to close embedded JAR resource."

See Also:
Constant Field Values

RESOURCE_READ_FAILED

public static final java.lang.String RESOURCE_READ_FAILED
"Failed to read embedded JAR resource."

See Also:
Constant Field Values

FILE_NOT_FOUND

public static final java.lang.String FILE_NOT_FOUND
"The specified file could not be found."

See Also:
Constant Field Values
Method Detail

getErrorCount

public static int getErrorCount()
Gets the total number of error messages.

Returns:
a positive integer


Copyright© Kais Dukes, 2009. All Rights Reserved.