This represents a RequestResultException, that can be used to create a Exception depending on a AdminRequestResult.
We fetch the Error Code by calling:
And the Message by calling:
If none could be found, we use the Default Code 'Unknown'.
Located in /CORE/system/classes/exception/RequestResultException.php [line 46]
LogEntry | --CMSException | --CoreException | --AdministrationException | --RequestResultException
Properties
Methods
Inherited From AdministrationException
AdministrationException::AdministrationException() Creates a new AdministrationException. AdministrationException::getURL() Gets the URL of this Exception. AdministrationException::setURL() Sets the URL of this Exception. Mostly used for showing Back Links!
Inherited From CoreException
CoreException::CoreException() Creates a new Core Exception. CoreException::getLayout() Return the Layout Name these Errors are represented by.
Inherited From CMSException
CMSException::CMSException() Creates a new CMSException. CMSException::getCode() Returns the Error Code. CMSException::logException() Returns whether this Error should write an Log Message or not. CMSException::toString()
Inherited From LogEntry
LogEntry::LogEntry() Creates a new LogEntry. LogEntry::getFilename() LogEntry::getLevel() Returns the entries leveƶ. LogEntry::getLinenum() LogEntry::getMessage() Returns the Error Message. LogEntry::getNamespace() Return the namespace or an empty string, if no namesapce is configured. LogEntry::setFilename() LogEntry::setLinenum() LogEntry::setNamespace() LogEntry::toString()
Identifies the Default Code 'Unknown';
RequestResultException RequestResultException( AdminRequestResult $result, [String $url = ''] )
Creates a new RequestResultException.