2 class Text_LanguageDetect_Exception extends Exception
5 * Database file could not be found
7 const DB_NOT_FOUND = 10;
10 * Database file found, but not readable
12 const DB_NOT_READABLE = 11;
15 * Database file is empty
20 * Database contents is not a PHP array
22 const DB_NOT_ARRAY = 13;
25 * Magic quotes are activated
27 const MAGIC_QUOTES = 14;
31 * Parameter of invalid type passed to method
33 const PARAM_TYPE = 20;
36 * Character in parameter is invalid
38 const INVALID_CHAR = 21;
42 * Language is not in the database
44 const UNKNOWN_LANGUAGE = 30;
48 * Error during block detection
50 const BLOCK_DETECTION = 40;
54 * Error while clustering languages
56 const NO_HIGHEST_KEY = 50;