open class ServerErrorException : ResponseStatusException
Exception for errors that fit response status 500 (bad request) for use in Spring Web applications. The exception provides additional fields (e.g. an optional MethodParameter if related to the error).
Author
Rossen Stoyanchev
Since
5.0
ServerErrorException(reason: String)
Constructor with an explanation only. ServerErrorException(reason: String, parameter: MethodParameter)
Constructor for a 500 error linked to a specific ServerErrorException(reason: String, parameter: MethodParameter, cause: Throwable)
Constructor for a 500 error with a root cause. |
open fun getMethodParameter(): MethodParameter
Return the |