private static function setMessage($severity, $msg) { self::$msg = new BeanMessage($severity, $msg); }