예제 #1
0
 public function onPostingNotPermitted(Response $response)
 {
     throw new RuntimeException('Posting not permitted.', $response->getStatusCode());
 }
예제 #2
0
 public function onNoSuchArticleId(Response $response)
 {
     throw new RuntimeException('No article with that message-id.', $response->getStatusCode());
 }
예제 #3
0
 public function onPostingFailed(Response $response)
 {
     throw new RuntimeException(sprintf('Posting failed: %s', $response->getMessage()), $response->getStatusCode());
 }
예제 #4
0
 public function onError(Response $response)
 {
     throw new RuntimeException('Error retrieving group list', $response->getStatusCode());
 }