Omeka_Controller_Exception_Api

Package: Controller

class Omeka_Controller_Exception_Api

extends Exception

implements Throwable

API exception.

API implementers should throw this exception for controller errors.

property Omeka_Controller_Exception_Api::$_errors

protected array

property Omeka_Controller_Exception_Api::$message

protected

property Omeka_Controller_Exception_Api::$code

protected

property Omeka_Controller_Exception_Api::$file

protected

property Omeka_Controller_Exception_Api::$line

protected

Omeka_Controller_Exception_Api::__construct($message, $code, $errors = array())
Parameters:
  • $message (string) –
  • $code (int) –
  • $errors (array) – Custom errors
Omeka_Controller_Exception_Api::getErrors()
Returns:array
Omeka_Controller_Exception_Api::__clone()
Omeka_Controller_Exception_Api::__wakeup()
Omeka_Controller_Exception_Api::getMessage()
Omeka_Controller_Exception_Api::getCode()
Omeka_Controller_Exception_Api::getFile()
Omeka_Controller_Exception_Api::getLine()
Omeka_Controller_Exception_Api::getTrace()
Omeka_Controller_Exception_Api::getPrevious()
Omeka_Controller_Exception_Api::getTraceAsString()
Omeka_Controller_Exception_Api::__toString()