\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
- Assetic\Exception\FilterException
- Symfony\Component\Routing\Exception\RouteNotFoundException
- Symfony\Component\Routing\Exception\ResourceNotFoundException
- Symfony\Component\Routing\Exception\MissingMandatoryParametersException
- Symfony\Component\Routing\Exception\InvalidParameterException
- Symfony\Component\Routing\Exception\MethodNotAllowedException
- Symfony\Component\Debug\Exception\ContextErrorException
- Symfony\Component\Debug\Exception\FatalErrorException
- Symfony\Component\Yaml\Exception\DumpException
- Symfony\Component\Yaml\Exception\ParseException
- Symfony\Component\Yaml\Exception\RuntimeException
- Symfony\Component\Validator\Exception\BadMethodCallException
- Symfony\Component\Validator\Exception\MissingOptionsException
- Symfony\Component\Validator\Exception\InvalidOptionsException
- Symfony\Component\Validator\Exception\MappingException
- Symfony\Component\Validator\Exception\GroupDefinitionException
- Symfony\Component\Validator\Exception\ValidatorException
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Exception\NoSuchMetadataException
- Symfony\Component\Validator\Exception\UnexpectedTypeException
- Symfony\Component\Validator\Exception\InvalidArgumentException
- Symfony\Component\HttpFoundation\File\Exception\FileException
- Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
- Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException
- Symfony\Component\HttpFoundation\File\Exception\UploadException
- Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException
- Symfony\Component\Intl\Exception\BadMethodCallException
- Symfony\Component\Intl\Exception\OutOfBoundsException
- Symfony\Component\Intl\Exception\RuntimeException
- Symfony\Component\Intl\Exception\MethodArgumentNotImplementedException
- Symfony\Component\Intl\Exception\NotImplementedException
- Symfony\Component\Intl\Exception\MethodNotImplementedException
- Symfony\Component\Intl\Exception\InvalidArgumentException
- Symfony\Component\Intl\Exception\MethodArgumentValueNotImplementedException
- Symfony\Component\PropertyAccess\Exception\OutOfBoundsException
- Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException
- Symfony\Component\PropertyAccess\Exception\RuntimeException
- Symfony\Component\PropertyAccess\Exception\InvalidPropertyPathException
- Symfony\Component\PropertyAccess\Exception\UnexpectedTypeException
- Symfony\Component\Finder\Exception\OperationNotPermitedException
- Symfony\Component\Finder\Exception\ShellCommandFailureException
- Symfony\Component\Finder\Exception\AdapterFailureException
- Symfony\Component\Finder\Exception\AccessDeniedException
- Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException
- Symfony\Component\Locale\Exception\NotImplementedException
- Symfony\Component\Locale\Exception\MethodNotImplementedException
- Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
- Symfony\Component\Config\Definition\Exception\InvalidTypeException
- Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
- Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException
- Symfony\Component\Config\Definition\Exception\DuplicateKeyException
- Symfony\Component\Config\Definition\Exception\InvalidDefinitionException
- Symfony\Component\Config\Definition\Exception\Exception
- Symfony\Component\Config\Definition\Exception\UnsetKeyException
- Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException
- Symfony\Component\Config\Exception\FileLoaderLoadException
- Symfony\Component\HttpKernel\Exception\HttpException
- Symfony\Component\HttpKernel\Exception\ConflictHttpException
- Symfony\Component\HttpKernel\Exception\PreconditionRequiredHttpException
- Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
- Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException
- Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
- Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException
- Symfony\Component\HttpKernel\Exception\BadRequestHttpException
- Symfony\Component\HttpKernel\Exception\FatalErrorException
- Symfony\Component\HttpKernel\Exception\LengthRequiredHttpException
- Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException
- Symfony\Component\HttpKernel\Exception\PreconditionFailedHttpException
- Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException
- Symfony\Component\HttpKernel\Exception\GoneHttpException
- Symfony\Component\Form\Exception\BadMethodCallException
- Symfony\Component\Form\Exception\AlreadySubmittedException
- Symfony\Component\Form\Exception\ErrorMappingException
- Symfony\Component\Form\Exception\InvalidConfigurationException
- Symfony\Component\Form\Exception\OutOfBoundsException
- Symfony\Component\Form\Exception\StringCastException
- Symfony\Component\Form\Exception\TransformationFailedException
- Symfony\Component\Form\Exception\RuntimeException
- Symfony\Component\Form\Exception\AlreadyBoundException
- Symfony\Component\Form\Exception\UnexpectedTypeException
- Symfony\Component\Form\Exception\InvalidArgumentException
- Symfony\Component\Form\Exception\LogicException
- Symfony\Component\OptionsResolver\Exception\MissingOptionsException
- Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
- Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
- Symfony\Component\Serializer\Exception\RuntimeException
- Symfony\Component\Serializer\Exception\UnsupportedException
- Symfony\Component\Serializer\Exception\InvalidArgumentException
- Symfony\Component\Serializer\Exception\UnexpectedValueException
- Symfony\Component\Serializer\Exception\LogicException
- Symfony\Component\CssSelector\Exception\ParseException
- Symfony\Component\CssSelector\Exception\InternalErrorException
- Symfony\Component\CssSelector\Exception\SyntaxErrorException
- Symfony\Component\CssSelector\Exception\ExpressionErrorException
- Symfony\Component\DependencyInjection\Exception\BadMethodCallException
- Symfony\Component\DependencyInjection\Exception\OutOfBoundsException
- Symfony\Component\DependencyInjection\Exception\InactiveScopeException
- Symfony\Component\DependencyInjection\Exception\RuntimeException
- Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException
- Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
- Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
- Symfony\Component\DependencyInjection\Exception\ScopeWideningInjectionException
- Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
- Symfony\Component\DependencyInjection\Exception\ScopeCrossingInjectionException
- Symfony\Component\DependencyInjection\Exception\LogicException
- Symfony\Component\Process\Exception\RuntimeException
- Symfony\Component\Process\Exception\InvalidArgumentException
- Symfony\Component\Process\Exception\ProcessFailedException
- Symfony\Component\Process\Exception\LogicException
- Symfony\Component\Translation\Exception\InvalidResourceException
- Symfony\Component\Translation\Exception\NotFoundResourceException
- Symfony\Component\Security\Core\Exception\AuthenticationServiceException
- Symfony\Component\Security\Core\Exception\AccountExpiredException
- Symfony\Component\Security\Core\Exception\InvalidCsrfTokenException
- Symfony\Component\Security\Core\Exception\SessionUnavailableException
- Symfony\Component\Security\Core\Exception\LogoutException
- Symfony\Component\Security\Core\Exception\ProviderNotFoundException
- Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException
- Symfony\Component\Security\Core\Exception\CredentialsExpiredException
- Symfony\Component\Security\Core\Exception\NonceExpiredException
- Symfony\Component\Security\Core\Exception\UsernameNotFoundException
- Symfony\Component\Security\Core\Exception\CookieTheftException
- Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException
- Symfony\Component\Security\Core\Exception\AccountStatusException
- Symfony\Component\Security\Core\Exception\DisabledException
- Symfony\Component\Security\Core\Exception\AuthenticationException
- Symfony\Component\Security\Core\Exception\LockedException
- Symfony\Component\Security\Core\Exception\UnsupportedUserException
- Symfony\Component\Security\Core\Exception\BadCredentialsException
- Symfony\Component\Security\Core\Exception\AccessDeniedException
- Symfony\Component\Security\Core\Exception\TokenNotFoundException
- Symfony\Component\Security\Acl\Exception\AclNotFoundException
- Symfony\Component\Security\Acl\Exception\SidNotLoadedException
- Symfony\Component\Security\Acl\Exception\NoAceFoundException
- Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException
- Symfony\Component\Security\Acl\Exception\NotAllAclsFoundException
- Symfony\Component\Security\Acl\Exception\InvalidDomainObjectException
- Symfony\Component\Security\Acl\Exception\ConcurrentModificationException
- Symfony\Component\Security\Acl\Exception\Exception
- Symfony\Component\Filesystem\Exception\IOException
- Symfony\Bundle\AsseticBundle\Exception\InvalidBundleException
- Doctrine\DBAL\Driver\IBMDB2\DB2Exception
- Doctrine\DBAL\Driver\Mysqli\MysqliException
- Doctrine\DBAL\Driver\OCI8\OCI8Exception
- Doctrine\DBAL\Driver\SQLSrv\SQLSrvException
- Doctrine\DBAL\Schema\SchemaException
- Doctrine\DBAL\ConnectionException
- Doctrine\DBAL\Sharding\ShardingException
- Doctrine\DBAL\Types\ConversionException
- Doctrine\DBAL\SQLParserUtilsException
- Doctrine\DBAL\Cache\CacheException
- Doctrine\DBAL\DBALException
- Doctrine\DBAL\Query\QueryException
- Doctrine\Common\Persistence\Mapping\MappingException
- Doctrine\Common\Annotations\AnnotationException
- Doctrine\Common\CommonException
- Doctrine\ORM\TransactionRequiredException
- Doctrine\ORM\NonUniqueResultException
- Doctrine\ORM\Internal\Hydration\HydrationException
- Doctrine\ORM\PessimisticLockException
- Doctrine\ORM\Mapping\MappingException
- Doctrine\ORM\NoResultException
- Doctrine\ORM\Tools\Export\ExportException
- Doctrine\ORM\Tools\ToolsException
- Doctrine\ORM\ORMInvalidArgumentException
- Doctrine\ORM\Proxy\ProxyException
- Doctrine\ORM\OptimisticLockException
- Doctrine\ORM\ORMException
- Doctrine\ORM\Query\QueryException
- Doctrine\ORM\Query\AST\ASTException
- Doctrine\ORM\EntityNotFoundException
- Doctrine\ORM\UnexpectedResultException
- Swift_DependencyException
- Swift_Plugins_Pop_Pop3Exception
- Swift_RfcComplianceException
- Swift_IoException
- Swift_SwiftException
- Swift_TransportException
- Twig_Error_Syntax
- Twig_Error_Loader
- Twig_Error_Runtime
- Twig_Error
- Twig_Sandbox_SecurityError
- Psr\Log\InvalidArgumentException
- Monolog\Handler\MissingExtensionException
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