Class Exception
An exception raised by and associated to Punic.
- Exception implements Throwable
- Punic\Exception
Direct known subclasses
Punic\Exception\BadArgumentType
,
Punic\Exception\BadDataFileContents
,
Punic\Exception\DataFileNotFound
,
Punic\Exception\DataFileNotReadable
,
Punic\Exception\DataFolderNotFound
,
Punic\Exception\InvalidDataFile
,
Punic\Exception\InvalidLocale
,
Punic\Exception\NotImplemented
,
Punic\Exception\ValueNotInList
Methods summary
public
|
#
__construct( string $message, integer $code = null, Exception $previous = null )
Initializes the instance. |
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Constants summary
integer |
NOT_IMPLEMENTED
Exception code for the \Punic\Exception\NotImplemented exception. |
#
10000
|
integer |
INVALID_LOCALE
Exception code for the \Punic\Exception\InvalidLocale exception. |
#
10001
|
integer |
INVALID_DATAFILE
Exception code for the \Punic\Exception\InvalidDataFile exception. |
#
10002
|
integer |
DATA_FOLDER_NOT_FOUND
Exception code for the \Punic\Exception\DataFolderNotFound exception. |
#
10003
|
integer |
DATA_FILE_NOT_FOUND
Exception code for the \Punic\Exception\DataFileNotFound exception. |
#
10004
|
integer |
DATA_FILE_NOT_READABLE
Exception code for the \Punic\Exception\DataFileNotReadable exception. |
#
10005
|
integer |
BAD_DATA_FILE_CONTENTS
Exception code for the \Punic\Exception\BadDataFileContents exception. |
#
10006
|
integer |
BAD_ARGUMENT_TYPE
Exception code for the \Punic\Exception\BadArgumentType exception. |
#
10007
|
integer |
VALUE_NOT_IN_LIST
Exception code for the \Punic\Exception\ValueNotInList exception. |
#
10008
|