class MessageException in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Exception with a message. Thrown when we need to return JSON about the error.
Hierarchy
- class \Drupal\n1ed\Flmngr\FileUploaderServer\lib\MessageException extends \Exception
Expanded class hierarchy of MessageException
14 files declare their use of MessageException
- AActionUploadId.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ AActionUploadId.php - ActionQuickUpload.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionQuickUpload.php - ActionUploadAddFile.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadAddFile.php - ActionUploadCancel.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadCancel.php - ActionUploadCommit.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadCommit.php
File
- src/
Flmngr/ FileUploaderServer/ lib/ MessageException.php, line 11
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\libView source
class MessageException extends Exception {
protected $message;
/**
* {@inheritdoc}
*/
public function __construct($message) {
parent::__construct();
$this->message = (array) $message;
}
/**
* Gets fail message.
*/
public function getFailMessage() {
return $this->message;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MessageException:: |
protected | property | ||
MessageException:: |
public | function | Gets fail message. | |
MessageException:: |
public | function |