* @subpackage system.exception
* @category Community Framework
*/
-class InvalidSecurityTokenException extends UserException {
+class InvalidSecurityTokenException extends NamedUserException {
/**
* Creates a new InvalidSecurityTokenException object.
*/
* A UserException is thrown when a user gives invalid input data.
*
* @author Marcel Werk
- * @copyright 2001-2013 WoltLab GmbH
+ * @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.exception
echo '<pre>' . $this->_getMessage() . '</pre>';
}
}
+
+ /**
+ * Returns the exception's message, should be used to sanitize the output.
+ *
+ * @return string
+ */
+ protected function _getMessage() {
+ return $this->getMessage();
+ }
}