Punic v3.5.0
  • Namespace
  • Class
  • Tree
  • Todo
  • Deprecated

Namespaces

  • Punic
    • Exception

Classes

  • Calendar
  • Comparer
  • Currency
  • Data
  • Language
  • Misc
  • Number
  • Phone
  • Plural
  • Territory
  • Unit

Exceptions

  • Exception

Class Exception

An exception raised by and associated to Punic.

Exception implements Throwable
Extended by 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\InvalidOverride, Punic\Exception\NotImplemented, Punic\Exception\ValueNotInList

Namespace: Punic
Located at Exception.php

Methods summary

public
# __construct( string $message, integer $code = null, Exception $previous = null )

Initializes the instance.

Initializes the instance.

Parameters

$message
The exception message
$code
The exception code
$previous
The previous exception used for the exception chaining

Overrides

Exception::__construct

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.

Exception code for the \Punic\Exception\NotImplemented exception.

# 10000
integer INVALID_LOCALE

Exception code for the \Punic\Exception\InvalidLocale exception.

Exception code for the \Punic\Exception\InvalidLocale exception.

# 10001
integer INVALID_DATAFILE

Exception code for the \Punic\Exception\InvalidDataFile exception.

Exception code for the \Punic\Exception\InvalidDataFile exception.

# 10002
integer DATA_FOLDER_NOT_FOUND

Exception code for the \Punic\Exception\DataFolderNotFound exception.

Exception code for the \Punic\Exception\DataFolderNotFound exception.

# 10003
integer DATA_FILE_NOT_FOUND

Exception code for the \Punic\Exception\DataFileNotFound exception.

Exception code for the \Punic\Exception\DataFileNotFound exception.

# 10004
integer DATA_FILE_NOT_READABLE

Exception code for the \Punic\Exception\DataFileNotReadable exception.

Exception code for the \Punic\Exception\DataFileNotReadable exception.

# 10005
integer BAD_DATA_FILE_CONTENTS

Exception code for the \Punic\Exception\BadDataFileContents exception.

Exception code for the \Punic\Exception\BadDataFileContents exception.

# 10006
integer BAD_ARGUMENT_TYPE

Exception code for the \Punic\Exception\BadArgumentType exception.

Exception code for the \Punic\Exception\BadArgumentType exception.

# 10007
integer VALUE_NOT_IN_LIST

Exception code for the \Punic\Exception\ValueNotInList exception.

Exception code for the \Punic\Exception\ValueNotInList exception.

# 10008
integer INVALID_OVERRIDE

Exception code for the \Punic\Exception\InvalidOverride exception.

Exception code for the \Punic\Exception\InvalidOverride exception.

# 10009
Punic v3.5.0 API documentation generated by ApiGen