Class NotAcceptableException

All Implemented Interfaces:
Serializable

public class NotAcceptableException extends AxiomException
No acceptable representation for the request's Accept header (406).
See Also:
  • Constructor Details

    • NotAcceptableException

      public NotAcceptableException()
      Creates the exception with code not_acceptable.
    • NotAcceptableException

      public NotAcceptableException(String code)
      Creates the exception with a specific safe code.
      Parameters:
      code - machine-readable code