public function makeException()
    {
        // make exception based on the status code
        $this->thrownException =
            new PlivoResponseException(
                null, null, null,
                $this->decodedContent, $this->statusCode);

        echo $this->thrownException->getMessage();
    }
public function makeException()
    {
        // make exception based on the status code
        $this->thrownException =
            new PlivoResponseException(
                null, null, null,
                $this->decodedContent, $this->statusCode);

        echo $this->thrownException->getMessage();
    }
public function makeException ( ) { // make exception based on the status code $ this -> thrownException = new PlivoResponseException ( null , null , null , $ this -> decodedContent , $ this -> statusCode ) ; echo $ this -> thrownException -> getMessage ( ) ; }
Instantiates an exception to be thrown later.
Instantiates an exception to be thrown later .