|
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `util`.`throw`(vMessage CHAR(55))
|
|
BEGIN
|
|
/**
|
|
* Throws a user-defined exception.
|
|
*
|
|
* @param vMessage The error message
|
|
*/
|
|
SIGNAL SQLSTATE '45000'
|
|
SET MESSAGE_TEXT = vMessage;
|
|
END$$
|
|
DELIMITER ;
|