public function render() {
		if ($this->error instanceof ValidationBaseSerializerException) {
			return $this->renderValidationSerializerException($this->error);
		} elseif ($this->error instanceof BaseSerializerException) {
			return $this->renderSerializerException($this->error);
		} elseif ($this->error instanceof CakeException) {
			return $this->renderCakeException($this->error);
		} elseif ($this->error instanceof HttpException) {
			return $this->renderHttpException($this->error);
		} else {
			// This isn't a standard CakeException, render it using the default error500 method
			return $this->error500($this->error);
		}
	}
public function render() {
		if ($this->error instanceof ValidationBaseSerializerException) {
			return $this->renderValidationSerializerException($this->error);
		} elseif ($this->error instanceof BaseSerializerException) {
			return $this->renderSerializerException($this->error);
		} elseif ($this->error instanceof CakeException) {
			return $this->renderCakeException($this->error);
		} elseif ($this->error instanceof HttpException) {
			return $this->renderHttpException($this->error);
		} else {
			// This isn't a standard CakeException, render it using the default error500 method
			return $this->error500($this->error);
		}
	}
public function render ( ) { if ( $ this -> error instanceof ValidationBaseSerializerException ) { return $ this -> renderValidationSerializerException ( $ this -> error ) ; } elseif ( $ this -> error instanceof BaseSerializerException ) { return $ this -> renderSerializerException ( $ this -> error ) ; } elseif ( $ this -> error instanceof CakeException ) { return $ this -> renderCakeException ( $ this -> error ) ; } elseif ( $ this -> error instanceof HttpException ) { return $ this -> renderHttpException ( $ this -> error ) ; } else { // This isn't a standard CakeException, render it using the default error500 method return $ this -> error500 ( $ this -> error ) ; } }
render the Exception to the end user, if the Exception is an instance of
BaseSerializerException call our custom renderer else, call the parent
render method

@return void
render the Exception to the end user if the Exception is an instance of BaseSerializerException call our custom renderer else call the parent render method