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);
		}
	}