\hhu\z\exceptionsWrongFiletypeException

Exception: File has wrong filetype.

Summary

Methods
Properties
Constants
__construct()
getType()
No public properties found
CODE
MESSAGE
No protected methods found
No protected properties found
N/A
concat()
$type
N/A

Constants

CODE

CODE

Error code

MESSAGE

MESSAGE

Error message

Properties

$type

$type : string

Type of file

Type

string

Methods

__construct()

__construct(string  $type, string  $message = self::MESSAGE, integer  $code = self::CODE) 

Construct a new exception.

Parameters

string $type

Type of file

string $message

Error message

integer $code

Error code

getType()

getType() : \hhu\z\exceptions\Type

Get type of file.

Returns

\hhu\z\exceptions\Type —

of file

concat()

concat(string  $message, string  $name) 

Insert the name in a message

Parameters

string $message

Error message

string $name

Name to insert