BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Exception Class Reference

Inherits Throwable.

Inherited by AMQPException, AvroException, BsException, BSInvalidParamException, Cdb\Exception, CLDRPluralRuleParser\Error, ConfigException, CouchbaseException, DOMException, DummyException, Elastica\Exception\ElasticsearchException, Elasticsearch\Common\Exceptions\AlreadyExpiredException, Elasticsearch\Common\Exceptions\BadRequest400Exception, Elasticsearch\Common\Exceptions\Conflict409Exception, Elasticsearch\Common\Exceptions\Forbidden403Exception, Elasticsearch\Common\Exceptions\Missing404Exception, Elasticsearch\Common\Exceptions\NoNodesAvailableException, Elasticsearch\Common\Exceptions\Serializer\JsonErrorException, Elasticsearch\Common\Exceptions\TransportException, ErrorException, EtcdConfigParseError, exhibit.ExhibitError, ExtensionDependencyError, ExtensionJsonValidationError, FileBackendError, GearmanException, GmagickException, GmagickPixelException, HttpException, ImagickDrawException, ImagickException, ImagickPixelException, ImagickPixelIteratorException, Issue244Exception, Issue244ExceptionIntCode, JakubOnderka\PhpConsoleColor\InvalidStyleException, JakubOnderka\PhpParallelLint\Exception, Less_Exception_Parser, LocalizedException, LogicException, MalformedTitleException, MediaWiki\Diff\ComplexityException, MediaWiki\ProcOpenError, MediaWiki\ShellDisabledError, MediaWiki\Sparql\SparqlException, MongoException, Monolog\Handler\MissingExtensionException, MWException, NewException, OAuthException, Onoi\HttpRequest\Exception\HttpConnectionException, OOUI\Exception, PharException, PHP_CodeSniffer\Exceptions\DeepExitException, PHP_CodeSniffer\Exceptions\RuntimeException, PHP_CodeSniffer\Exceptions\TokenizerException, PHPExcel_Exception, portalocker.LockException, Psy\Exception\BreakException, Psy\Exception\ThrowUpException, Psy\Exception\TypeErrorException, RedisException, ReflectionException, RemexHtml\Serializer\SerializerError, RemexHtml\Tokenizer\TokenizerError, RemexHtml\TreeBuilder\TreeBuilderError, RuntimeException, SmartyException, SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException, SMW\SPARQLStore\Exception\HttpDatabaseConnectionException, SMW\SPARQLStore\Exception\XmlParserException, SoapFault, Symfony\Component\CssSelector\Exception\ParseException, Symfony\Component\VarDumper\Exception\ThrowingCasterException, Wikimedia\Timestamp\TimestampException, ZipDirectoryReaderError, and ZMQException.

Collaboration diagram for Exception:

Public Member Functions

 __construct ($message="", $code=0, Throwable $previous=null)
 
 getMessage ()
 
 getCode ()
 
 getFile ()
 
 getLine ()
 
 getTrace ()
 
 getPrevious ()
 
 getTraceAsString ()
 
 __toString ()
 

Protected Attributes

 $message
 
 $code
 
 $file
 
 $line
 

Detailed Description

Exception is the base class for all Exceptions. http://php.net/manual/en/class.exception.php

Constructor & Destructor Documentation

Exception::__construct (   $message = "",
  $code = 0,
Throwable  $previous = null 
)

Member Function Documentation

Exception::__toString ( )

String representation of the exception string the string representation of the exception. 5.1.0

Implements Throwable.

Exception::getFile ( )
final

Gets the file in which the exception occurred string the filename in which the exception was created. 5.1.0

Implements Throwable.

Exception::getLine ( )
final

Gets the line in which the exception occurred int the line number where the exception was created. 5.1.0

Implements Throwable.

Exception::getMessage ( )
final
Exception::getPrevious ( )
final
Exception::getTrace ( )
final
Exception::getTraceAsString ( )
final

Gets the stack trace as a string string the Exception stack trace as a string. 5.1.0

Implements Throwable.


The documentation for this class was generated from the following file: