1: <?php
2: /**
3: * @generated
4: */
5: namespace cassandra;
6: class AuthorizationException extends \TException {
7: static $_TSPEC;
8:
9: public function __construct($vals=null) {
10: if (!isset(self::$_TSPEC)) {
11: self::$_TSPEC = array(
12: 1 => array(
13: 'var' => 'message',
14: 'type' => \TType::STRING,
15: ),
16: );
17: }
18: if (is_array($vals)) {
19: parent::__construct(self::$_TSPEC, $vals);
20: }
21: }
22:
23: public function getName() {
24: return 'AuthorizationException';
25: }
26:
27: public function read($input)
28: {
29: return $this->_read('AuthorizationException', self::$_TSPEC, $input);
30: }
31: public function write($output) {
32: return $this->_write('AuthorizationException', self::$_TSPEC, $output);
33: }
34: }
35:
36:
37: ?>
38: