\Exception
Synopsis
class Exception
{
- // methods
- public void __construct()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
- final void __clone()
Hierarchy
Extended by
- Zend\Server\Reflection\Exception\BadMethodCallException
- Zend\Server\Reflection\Exception\RuntimeException
- Zend\Server\Reflection\Exception\InvalidArgumentException
- Zend\Server\Exception\BadMethodCallException
- Zend\Server\Exception\RuntimeException
- Zend\Server\Exception\InvalidArgumentException
- Zend\Code\Generator\Exception\RuntimeException
- Zend\Code\Generator\Exception\InvalidArgumentException
- Zend\Code\Reflection\Exception\BadMethodCallException
- Zend\Code\Reflection\Exception\RuntimeException
- Zend\Code\Reflection\Exception\InvalidArgumentException
- Zend\Code\Exception\BadMethodCallException
- Zend\Code\Exception\RuntimeException
- Zend\Code\Exception\InvalidArgumentException
- Zend\InputFilter\Exception\RuntimeException
- Zend\InputFilter\Exception\InvalidArgumentException
- Zend\Filter\Exception\DomainException
- Zend\Filter\Exception\BadMethodCallException
- Zend\Filter\Exception\ExtensionNotLoadedException
- Zend\Filter\Exception\RuntimeException
- Zend\Filter\Exception\InvalidArgumentException
- Zend\Feed\Writer\Exception\BadMethodCallException
- Zend\Feed\Writer\Exception\RuntimeException
- Zend\Feed\Writer\Exception\InvalidArgumentException
- Zend\Feed\Reader\Exception\BadMethodCallException
- Zend\Feed\Reader\Exception\RuntimeException
- Zend\Feed\Reader\Exception\InvalidArgumentException
- Zend\Feed\PubSubHubbub\Exception\RuntimeException
- Zend\Feed\PubSubHubbub\Exception\InvalidArgumentException
- Zend\Feed\Exception\BadMethodCallException
- Zend\Feed\Exception\RuntimeException
- Zend\Feed\Exception\InvalidArgumentException
- Zend\EventManager\Exception\DomainException
- Zend\EventManager\Exception\InvalidCallbackException
- Zend\EventManager\Exception\InvalidArgumentException
- Zend\Db\TableGateway\Exception\RuntimeException
- Zend\Db\TableGateway\Exception\InvalidArgumentException
- Zend\Db\Sql\Exception\RuntimeException
- Zend\Db\Sql\Exception\InvalidArgumentException
- Zend\Db\RowGateway\Exception\RuntimeException
- Zend\Db\RowGateway\Exception\InvalidArgumentException
- Zend\Db\Adapter\Driver\Sqlsrv\Exception\ErrorException
- Zend\Db\Adapter\Exception\InvalidConnectionParametersException
- Zend\Db\Adapter\Exception\RuntimeException
- Zend\Db\Adapter\Exception\InvalidQueryException
- Zend\Db\Adapter\Exception\InvalidArgumentException
- Zend\Db\Adapter\Exception\UnexpectedValueException
- Zend\Db\Adapter\Exception\ErrorException
- Zend\Db\Exception\RuntimeException
- Zend\Db\Exception\InvalidArgumentException
- Zend\Db\Exception\UnexpectedValueException
- Zend\Db\Exception\ErrorException
- Zend\Db\ResultSet\Exception\RuntimeException
- Zend\Db\ResultSet\Exception\InvalidArgumentException
- Zend\Console\Exception\BadMethodCallException
- Zend\Console\Exception\RuntimeException
- Zend\Console\Exception\InvalidArgumentException
- Zend\Memory\Exception\RuntimeException
- Zend\Memory\Exception\InvalidArgumentException
- Zend\Tag\Exception\OutOfBoundsException
- Zend\Tag\Exception\InvalidArgumentException
- Zend\Tag\Exception\InvalidAttributeNameException
- Zend\Tag\Exception\InvalidElementNameException
- Zend\Tag\Cloud\Decorator\Exception\InvalidArgumentException
- Zend\Validator\Exception\BadMethodCallException
- Zend\Validator\Exception\ExtensionNotLoadedException
- Zend\Validator\Exception\RuntimeException
- Zend\Validator\Exception\InvalidArgumentException
- Zend\Validator\Exception\InvalidMagicMimeFileException
- Zend\Log\Exception\RuntimeException
- Zend\Log\Exception\InvalidArgumentException
- Zend\Crypt\Symmetric\Exception\RuntimeException
- Zend\Crypt\Symmetric\Exception\InvalidArgumentException
- Zend\Crypt\PublicKey\Rsa\Exception\RuntimeException
- Zend\Crypt\PublicKey\Rsa\Exception\InvalidArgumentException
- Zend\Crypt\Password\Exception\RuntimeException
- Zend\Crypt\Password\Exception\InvalidArgumentException
- Zend\Crypt\Key\Derivation\Exception\RuntimeException
- Zend\Crypt\Key\Derivation\Exception\InvalidArgumentException
- Zend\Crypt\Exception\RuntimeException
- Zend\Crypt\Exception\InvalidArgumentException
- Zend\Permissions\Rbac\Exception\InvalidArgumentException
- Zend\Permissions\Acl\Assertion\Exception\InvalidAssertionException
- Zend\Permissions\Acl\Exception\RuntimeException
- Zend\Permissions\Acl\Exception\InvalidArgumentException
- Zend\Mvc\Router\Exception\RuntimeException
- Zend\Mvc\Router\Exception\InvalidArgumentException
- Zend\Mvc\Exception\DomainException
- Zend\Mvc\Exception\BadMethodCallException
- Zend\Mvc\Exception\InvalidPluginException
- Zend\Mvc\Exception\RuntimeException
- Zend\Mvc\Exception\MissingLocatorException
- Zend\Mvc\Exception\InvalidArgumentException
- Zend\Mvc\Exception\InvalidControllerException
- Zend\Navigation\Exception\DomainException
- Zend\Navigation\Exception\BadMethodCallException
- Zend\Navigation\Exception\OutOfBoundsException
- Zend\Navigation\Exception\InvalidArgumentException
- Zend\Soap\Exception\BadMethodCallException
- Zend\Soap\Exception\ExtensionNotLoadedException
- Zend\Soap\Exception\RuntimeException
- Zend\Soap\Exception\InvalidArgumentException
- Zend\Soap\Exception\UnexpectedValueException
- Zend\ProgressBar\Adapter\Exception\RuntimeException
- Zend\ProgressBar\Adapter\Exception\InvalidArgumentException
- Zend\ProgressBar\Exception\RuntimeException
- Zend\ProgressBar\Exception\OutOfRangeException
- Zend\ProgressBar\Exception\PhpEnvironmentException
- Zend\ProgressBar\Exception\InvalidArgumentException
- Zend\Json\Server\Exception\HttpException
- Zend\Json\Server\Exception\RuntimeException
- Zend\Json\Server\Exception\InvalidArgumentException
- Zend\Json\Server\Exception\ErrorException
- Zend\Json\Exception\BadMethodCallException
- Zend\Json\Exception\RuntimeException
- Zend\Json\Exception\RecursionException
- Zend\Json\Exception\InvalidArgumentException
- Zend\Authentication\Adapter\Http\Exception\RuntimeException
- Zend\Authentication\Adapter\Http\Exception\InvalidArgumentException
- Zend\Authentication\Adapter\Exception\RuntimeException
- Zend\Authentication\Adapter\Exception\InvalidArgumentException
- Zend\Authentication\Adapter\Exception\UnexpectedValueException
- Zend\Authentication\Adapter\DbTable\Exception\RuntimeException
- Zend\Authentication\Adapter\DbTable\Exception\InvalidArgumentException
- Zend\Authentication\Exception\RuntimeException
- Zend\Authentication\Exception\InvalidArgumentException
- Zend\Authentication\Exception\UnexpectedValueException
- Zend\Ldap\Filter\Exception\FilterException
- Zend\Ldap\Converter\Exception\InvalidArgumentException
- Zend\Ldap\Converter\Exception\UnexpectedValueException
- Zend\Ldap\Converter\Exception\ConverterException
- Zend\Ldap\Exception\BadMethodCallException
- Zend\Ldap\Exception\LdapException
- Zend\Ldap\Exception\InvalidArgumentException
- Zend\Config\Exception\RuntimeException
- Zend\Config\Exception\InvalidArgumentException
- Zend\Form\Exception\DomainException
- Zend\Form\Exception\BadMethodCallException
- Zend\Form\Exception\ExtensionNotLoadedException
- Zend\Form\Exception\InvalidElementException
- Zend\Form\Exception\InvalidArgumentException
- Zend\Form\Exception\UnexpectedValueException
- Zend\Serializer\Exception\ExtensionNotLoadedException
- Zend\Serializer\Exception\RuntimeException
- Zend\Serializer\Exception\InvalidArgumentException
- Zend\Http\Header\Exception\DomainException
- Zend\Http\Header\Exception\RuntimeException
- Zend\Http\Header\Exception\InvalidArgumentException
- Zend\Http\Client\Adapter\Exception\TimeoutException
- Zend\Http\Client\Adapter\Exception\RuntimeException
- Zend\Http\Client\Adapter\Exception\OutOfRangeException
- Zend\Http\Client\Adapter\Exception\InvalidArgumentException
- Zend\Http\Client\Adapter\Exception\InitializationException
- Zend\Http\Client\Exception\RuntimeException
- Zend\Http\Client\Exception\OutOfRangeException
- Zend\Http\Client\Exception\InvalidArgumentException
- Zend\Http\Exception\RuntimeException
- Zend\Http\Exception\OutOfRangeException
- Zend\Http\Exception\InvalidArgumentException
- Zend\Mime\Exception\RuntimeException
- Zend\Cache\Exception\BadMethodCallException
- Zend\Cache\Exception\ExtensionNotLoadedException
- Zend\Cache\Exception\UnsupportedMethodCallException
- Zend\Cache\Exception\MissingDependencyException
- Zend\Cache\Exception\MissingKeyException
- Zend\Cache\Exception\RuntimeException
- Zend\Cache\Exception\OutOfSpaceException
- Zend\Cache\Exception\InvalidArgumentException
- Zend\Cache\Exception\UnexpectedValueException
- Zend\Cache\Exception\LogicException
- Zend\Stdlib\Exception\DomainException
- Zend\Stdlib\Exception\BadMethodCallException
- Zend\Stdlib\Exception\ExtensionNotLoadedException
- Zend\Stdlib\Exception\InvalidCallbackException
- Zend\Stdlib\Exception\RuntimeException
- Zend\Stdlib\Exception\InvalidArgumentException
- Zend\Stdlib\Exception\LogicException
- Zend\ModuleManager\Listener\Exception\RuntimeException
- Zend\ModuleManager\Listener\Exception\InvalidArgumentException
- Zend\ModuleManager\Exception\MissingDependencyModuleException
- Zend\ModuleManager\Exception\RuntimeException
- Zend\ModuleManager\Exception\InvalidArgumentException
- Zend\Barcode\Object\Exception\ExtensionNotLoadedException
- Zend\Barcode\Object\Exception\RuntimeException
- Zend\Barcode\Object\Exception\BarcodeValidationException
- Zend\Barcode\Object\Exception\OutOfRangeException
- Zend\Barcode\Object\Exception\InvalidArgumentException
- Zend\Barcode\Exception\RuntimeException
- Zend\Barcode\Exception\RendererCreationException
- Zend\Barcode\Exception\OutOfRangeException
- Zend\Barcode\Exception\InvalidArgumentException
- Zend\Barcode\Exception\UnexpectedValueException
- Zend\Barcode\Renderer\Exception\RuntimeException
- Zend\Barcode\Renderer\Exception\OutOfRangeException
- Zend\Barcode\Renderer\Exception\InvalidArgumentException
- Zend\Barcode\Renderer\Exception\UnexpectedValueException
- Zend\I18n\Exception\ParseException
- Zend\I18n\Exception\ExtensionNotLoadedException
- Zend\I18n\Exception\OutOfBoundsException
- Zend\I18n\Exception\RuntimeException
- Zend\I18n\Exception\RangeException
- Zend\I18n\Exception\InvalidArgumentException
- Zend\Session\Exception\BadMethodCallException
- Zend\Session\Exception\RuntimeException
- Zend\Session\Exception\InvalidArgumentException
- Zend\Uri\Exception\InvalidUriPartException
- Zend\Uri\Exception\InvalidArgumentException
- Zend\Uri\Exception\InvalidUriException
- Zend\Mail\Header\Exception\BadMethodCallException
- Zend\Mail\Header\Exception\RuntimeException
- Zend\Mail\Header\Exception\InvalidArgumentException
- Zend\Mail\Transport\Exception\DomainException
- Zend\Mail\Transport\Exception\RuntimeException
- Zend\Mail\Transport\Exception\InvalidArgumentException
- Zend\Mail\Storage\Part\Exception\RuntimeException
- Zend\Mail\Storage\Part\Exception\InvalidArgumentException
- Zend\Mail\Storage\Exception\OutOfBoundsException
- Zend\Mail\Storage\Exception\RuntimeException
- Zend\Mail\Storage\Exception\InvalidArgumentException
- Zend\Mail\Exception\DomainException
- Zend\Mail\Exception\BadMethodCallException
- Zend\Mail\Exception\OutOfBoundsException
- Zend\Mail\Exception\RuntimeException
- Zend\Mail\Exception\InvalidArgumentException
- Zend\Mail\Protocol\Exception\RuntimeException
- Zend\Mail\Protocol\Exception\InvalidArgumentException
- Zend\Di\Exception\InvalidCallbackException
- Zend\Di\Exception\UndefinedReferenceException
- Zend\Di\Exception\ClassNotFoundException
- Zend\Di\Exception\InvalidParamNameException
- Zend\Di\Exception\MissingPropertyException
- Zend\Di\Exception\RuntimeException
- Zend\Di\Exception\CircularDependencyException
- Zend\Di\Exception\InvalidPositionException
- Zend\Di\Exception\InvalidArgumentException
- Zend\ServiceManager\Exception\ServiceNotCreatedException
- Zend\ServiceManager\Exception\CircularReferenceException
- Zend\ServiceManager\Exception\InvalidServiceNameException
- Zend\ServiceManager\Exception\RuntimeException
- Zend\ServiceManager\Exception\ServiceNotFoundException
- Zend\ServiceManager\Exception\InvalidArgumentException
- Zend\ServiceManager\Exception\CircularDependencyFoundException
- Zend\View\Exception\DomainException
- Zend\View\Exception\BadMethodCallException
- Zend\View\Exception\RuntimeException
- Zend\View\Exception\InvalidArgumentException
- Zend\View\Exception\UnexpectedValueException
- Zend\View\Exception\InvalidHelperException
- Zend\Dom\Exception\BadMethodCallException
- Zend\Dom\Exception\RuntimeException
- Zend\Loader\Exception\SecurityException
- Zend\Loader\Exception\DomainException
- Zend\Loader\Exception\BadMethodCallException
- Zend\Loader\Exception\RuntimeException
- Zend\Loader\Exception\MissingResourceNamespaceException
- Zend\Loader\Exception\InvalidArgumentException
- Zend\Loader\Exception\InvalidPathException
- Zend\Loader\Exception\PluginLoaderException
- Zend\Paginator\Adapter\Exception\RuntimeException
- Zend\Paginator\Adapter\Exception\InvalidArgumentException
- Zend\Paginator\Adapter\Exception\UnexpectedValueException
- Zend\Paginator\Exception\RuntimeException
- Zend\Paginator\Exception\InvalidArgumentException
- Zend\Paginator\Exception\UnexpectedValueException
- Zend\Text\Table\Exception\OverflowException
- Zend\Text\Table\Exception\InvalidDecoratorException
- Zend\Text\Table\Exception\OutOfBoundsException
- Zend\Text\Table\Exception\InvalidArgumentException
- Zend\Text\Table\Exception\UnexpectedValueException
- Zend\Text\Figlet\Exception\RuntimeException
- Zend\Text\Figlet\Exception\InvalidArgumentException
- Zend\Text\Figlet\Exception\UnexpectedValueException
- Zend\Text\Exception\OverflowException
- Zend\Text\Exception\OutOfBoundsException
- Zend\Text\Exception\RuntimeException
- Zend\Text\Exception\InvalidArgumentException
- Zend\Text\Exception\UnexpectedValueException
- Zend\File\Transfer\Exception\BadMethodCallException
- Zend\File\Transfer\Exception\RuntimeException
- Zend\File\Transfer\Exception\PhpEnvironmentException
- Zend\File\Transfer\Exception\InvalidArgumentException
- Zend\File\Exception\BadMethodCallException
- Zend\File\Exception\RuntimeException
- Zend\File\Exception\InvalidArgumentException
- Zend\Escaper\Exception\RuntimeException
- Zend\Escaper\Exception\InvalidArgumentException
- Zend\XmlRpc\Server\Exception\BadMethodCallException
- Zend\XmlRpc\Server\Exception\RuntimeException
- Zend\XmlRpc\Server\Exception\InvalidArgumentException
- Zend\XmlRpc\Client\Exception\HttpException
- Zend\XmlRpc\Client\Exception\IntrospectException
- Zend\XmlRpc\Client\Exception\RuntimeException
- Zend\XmlRpc\Client\Exception\InvalidArgumentException
- Zend\XmlRpc\Client\Exception\FaultException
- Zend\XmlRpc\Exception\BadMethodCallException
- Zend\XmlRpc\Exception\ValueException
- Zend\XmlRpc\Exception\RuntimeException
- Zend\XmlRpc\Exception\InvalidArgumentException
- Zend\Captcha\Exception\DomainException
- Zend\Captcha\Exception\ExtensionNotLoadedException
- Zend\Captcha\Exception\NoFontProvidedException
- Zend\Captcha\Exception\RuntimeException
- Zend\Captcha\Exception\InvalidArgumentException
- Zend\Captcha\Exception\ImageNotLoadableException
- Zend\Math\BigInteger\Exception\DivisionByZeroException
- Zend\Math\BigInteger\Exception\RuntimeException
- Zend\Math\BigInteger\Exception\InvalidArgumentException
- Zend\Math\Exception\DomainException
- Zend\Math\Exception\RuntimeException
- Zend\Math\Exception\InvalidArgumentException
Members
protected
- $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message
Methods
public
- __construct() — Construct the exception
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception occurred
- getLine() — Gets the line in which the exception occurred
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string