Class PreconditionRequiredException

All Implemented Interfaces:
Serializable, Response

An exception that is thrown to indicate that a resource requires a version, but no version was supplied in the request. Equivalent to draft-nottingham-http-new-status-03 HTTP status: 428 Precondition Required.
See Also:
  • Constructor Details

    • PreconditionRequiredException

      Constructs a new exception with null as its detail message.
    • PreconditionRequiredException

      Constructs a new exception with the specified detail message.
      Parameters:
      message - The detail message.
    • PreconditionRequiredException

      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The exception which caused this exception to be thrown.
    • PreconditionRequiredException

      Constructs a new exception with the specified cause.
      Parameters:
      cause - The exception which caused this exception to be thrown.