Changeset 6165 for sandbox/webservice/api/adapters/ExpressoAdapter.php
- Timestamp:
- 05/11/12 10:38:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/adapters/ExpressoAdapter.php
r6149 r6165 100 100 if($this->getResult()) 101 101 $body['result'] = $this->getResult(); 102 else 103 throw new ResponseException("",Errors::E_UNKNOWN_ERROR); 102 else { 103 Errors::runException("E_UNKNOWN_ERROR"); 104 } 105 104 106 105 107 $response->body = json_encode($body); … … 115 117 } 116 118 else{ 117 throw new ResponseException("",Errors::LOGIN_AUTH_INVALID);119 Errors::runException("LOGIN_AUTH_INVALID"); 118 120 } 119 121 } 120 122 else{ 121 throw new ResponseException("",Errors::LOGIN_NOT_LOGGED_IN);123 Errors::runException("LOGIN_NOT_LOGGED_IN"); 122 124 } 123 125 }
Note: See TracChangeset
for help on using the changeset viewer.