General XenForo exception handler.
Has support for throwing errors that are specifically targetted at users, and even throwing multiple messages together in one exception. (This latter behavior is primarily used as a convienence in things like the DWs.)
| package | XenForo_Core |
|---|
__construct(array | string $message, boolean $userPrintable)
| inherited_from | \XenForo_Exception::__construct() |
|---|
arraystringException message. May be multiple messages.
booleanIf true, message is printable to the user.
getLineNumber()
getMessages() : string | array
If an non-empty array was passed to the constructor, this will return an array; otherwise, it will return a string.
| inherited_from | \XenForo_Exception::getMessages() |
|---|
stringarray
isUserPrintable() : boolean
| inherited_from | \XenForo_Exception::isUserPrintable() |
|---|
booleansetLineNumber($lineNumber)
$_lineNumber
$_userPrintable
| inherited_from | \XenForo_Exception::$$_userPrintable |
|---|