1 /*global $k*/
  2 
  3 /**
  4  * @namespace Namespace of errors
  5 **/
  6 $k.exception = {
  7 	/**
  8 	 * @class Thrown when an object could not be found
  9 	**/
 10 	ObjectNotFound: function() {},
 11 
 12 	/**
 13 	 * @class Thrown when the type of an argument is not suitable
 14 	**/
 15 	TypeError: function() {},
 16 
 17 	/**
 18 	 * @class Thrown when an attempt to modify the schema in an invalid way was made, or if the schema does not allow the operation
 19 	**/
 20 	SchemaError: function() {},
 21 
 22 	/**
 23 	 * @class A required parameter is missing
 24 	**/
 25 	MissingParameter: function() {},
 26 
 27 	/**
 28 	 * @class Thrown when an invalid language was specified
 29 	**/
 30 	InvalidLanguage: function() {},
 31 
 32 	/**
 33 	 * @class Thrown when an read/write access is denied by the access rights
 34 	**/
 35 	AccessDenied: function() {},
 36 
 37 	/**
 38 	 * @class Thrown when attempting to access a topic that was removed
 39 	**/
 40 	ObjectRemoved: function() {},
 41 
 42 	/**
 43 	 * @class Thrown when a value is not in the range of allowed values
 44 	**/
 45 	InvalidValue: function() {},
 46 
 47 	/**
 48 	 * @class An error related to defining or using module
 49 	**/
 50 	ModuleError: function() {},
 51 
 52 	/**
 53 	 * @class A transaction-related error
 54 	**/
 55 	TransactionError: function() {},
 56 
 57 	/**
 58 	 * @class Thrown when it is not possible to remove a topic
 59 	**/
 60 	RemoveNotPossible: function() {},
 61 
 62 	/**
 63 	 * @class
 64 	**/
 65 	SyncError: function() {},
 66 
 67 	/**
 68 	 * @class Thrown when an object or value is not unique
 69 	**/
 70 	NotUnique: function() {},
 71 
 72 	/**
 73 	 * @class Thrown when a query could not be solved
 74 	**/
 75 	QueryError: function() {},
 76 
 77 	/**
 78 	 * @class Represents a generic runtime error
 79 	**/
 80 	RuntimeError: function() {},
 81 
 82 	/**
 83 	 * @class
 84 	**/
 85 	MailError: function() {},
 86 
 87 	/**
 88 	 * @class Raised when a HTTP request fails
 89 	**/
 90 	HttpError: function() {},
 91 
 92 	/**
 93 	 * @class An XML-related error
 94 	**/
 95 	XMLError: function() {},
 96 
 97 	/**
 98 	 * @class
 99 	**/
100 	JavaError: function() {}
101 };