/**
  * Constructs a new instance of the base BaseJsonApiException
  *
  * @param string $title The title of the exception, passed to parent CakeException::__construct
  * @param array $validationErrors A CakePHP Model array of validation errors
  * @param int $status The http status code of the error, passed to parent CakeException::__construct
  * @param string $id A unique identifier for this particular occurrence of the problem.
  * @param string $href A URI that MAY yield further details about this particular occurrence of the problem.
  * @param array $links An array of JSON Pointers [RFC6901] to the associated resource(s) within the request document [e.g. ["/data"] for a primary data object].
  * @param array $paths An array of JSON Pointers to the relevant attribute(s) within the associated resource(s) in the request document. Each path MUST be relative to the resource path(s) expressed in the error object's "links" member [e.g. ["/first-name", "/last-name"] to reference a couple attributes].
  */
 public function __construct($title = 'Validation Failed', array $validationErrors = array(), $status = 422, $id = null, $href = null, $links = array(), $paths = array())
 {
     $this->validationErrors = $validationErrors;
     parent::__construct($title, $validationErrors, $status, $id, $href, $links, $paths);
 }
 /**
  * Constructs a new instance of the base StatelessAuthException
  *
  * @param string $title The title of the exception, passed to parent CakeException::__construct
  * @param string $detail A human-readable explanation specific to this occurrence of the problem.
  * @param int $status The http status code of the error, passed to parent CakeException::__construct
  * @param string $id A unique identifier for this particular occurrence of the problem.
  * @param string $href A URI that MAY yield further details about this particular occurrence of the problem.
  * @param array $links An array of JSON Pointers [RFC6901] to the associated resource(s) within the request document [e.g. ["/data"] for a primary data object].
  * @param array $paths An array of JSON Pointers to the relevant attribute(s) within the associated resource(s) in the request document. Each path MUST be relative to the resource path(s) expressed in the error object's "links" member [e.g. ["/first-name", "/last-name"] to reference a couple attributes].
  */
 public function __construct($title = 'Stateless Auth Exception', $detail = 'Stateless Auth Exception', $status = 400, $id = null, $href = null, $links = null, $paths = null)
 {
     parent::__construct($title, $detail, $status, $id, $href, $links, $paths);
 }