BadRequestException

class BadRequestException(details: String, typeSuffix: String, cause: Throwable? = null) : HttpException

Indicates a bad request from the client with missing or invalid information provided.

Parameters

details

the detailed message to expose to the caller

typeSuffix

A detailed type making this bad request instance uniquely identifiable. PROBLEM_NAMESPACE will automatically be prepended. This field should be written in kebab-case.

cause

The causing exception for the bad request or null if none.

Constructors

Link copied to clipboard
constructor(details: String, typeSuffix: String, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val problem: <Error class: unknown class>

A description of the problem this exception is reporting to the caller.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard