ApplicationError.php
182 $message->getText('The passed offset is negative or greater than the number of entries matching the parameters.'), ERROR_LEVEL_WARNING)));
184 $message->getText('The passed sortFieldName is no valid attribute of the passed class.'), ERROR_LEVEL_ERROR)));
189 $message->getText('The passed depth is a negative number other than -1.'), ERROR_LEVEL_ERROR)));
192 $message->getText('The attribute name passed cannot be found in the selected class.'), ERROR_LEVEL_ERROR)));
194 $message->getText('The attribute value passed is invalid for the attribute.'), ERROR_LEVEL_ERROR)));
199 $message->getText('The role passed cannot be found in the selected source class.'), ERROR_LEVEL_ERROR)));
201 $message->getText('There is no association between the source and the target class.'), ERROR_LEVEL_ERROR)));
203 $message->getText('No current association matching the input parameters can be found.'), ERROR_LEVEL_WARNING)));
212 $message->getText('There reference object cannot be found in the container object.'), ERROR_LEVEL_ERROR)));
214 $message->getText('The container class does not support ordered references.'), ERROR_LEVEL_ERROR)));
217 $message->getText('The classes of insertOid and referenceOid do not match.'), ERROR_LEVEL_ERROR)));
223 $message->getText('The user does not have the permission to perform this action.'), ERROR_LEVEL_ERROR)));
static getGeneral($message)
Factory method for creating a general error instance.
Definition: ApplicationError.php:135
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
static getInstance($name, $dynamicConfiguration=array())
Definition: ObjectFactory.php:39
static fromException(\Exception $ex)
Factory method for transforming an exception into an ApplicationError instance.
Definition: ApplicationError.php:144
ApplicationError is used to signal errors that occur while processing a request.
Definition: ApplicationError.php:46
ApplicationException signals a general application exception.
Definition: ApplicationException.php:22