\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(  $type,   $message = self::MESSAGE,   $code = self::CODE) 

Construct a new exception.

Parameters

$type
$message
$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