@Immutable public abstract class AbstractThrowableProblem extends ThrowableProblem
DEFAULT_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractThrowableProblem() |
protected |
AbstractThrowableProblem(URI type) |
protected |
AbstractThrowableProblem(URI type,
String title) |
protected |
AbstractThrowableProblem(URI type,
String title,
StatusType status) |
protected |
AbstractThrowableProblem(URI type,
String title,
StatusType status,
String detail) |
protected |
AbstractThrowableProblem(URI type,
String title,
StatusType status,
String detail,
URI instance) |
protected |
AbstractThrowableProblem(URI type,
String title,
StatusType status,
String detail,
URI instance,
ThrowableProblem cause) |
protected |
AbstractThrowableProblem(URI type,
String title,
StatusType status,
String detail,
URI instance,
ThrowableProblem cause,
Map<String,Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetail()
A human readable explanation specific to this occurrence of the problem.
|
URI |
getInstance()
An absolute URI that identifies the specific occurrence of the problem.
|
Map<String,Object> |
getParameters()
Optional, additional attributes of the problem.
|
StatusType |
getStatus()
The HTTP status code generated by the origin server for this
occurrence of the problem.
|
String |
getTitle()
A short, human-readable summary of the problem type.
|
URI |
getType()
An absolute URI that identifies the problem type.
|
getCause, getMessage, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpropagate, propagateAsprotected AbstractThrowableProblem()
protected AbstractThrowableProblem(@Nullable URI type, @Nullable String title)
protected AbstractThrowableProblem(@Nullable URI type, @Nullable String title, @Nullable StatusType status)
protected AbstractThrowableProblem(@Nullable URI type, @Nullable String title, @Nullable StatusType status, @Nullable String detail)
protected AbstractThrowableProblem(@Nullable URI type, @Nullable String title, @Nullable StatusType status, @Nullable String detail, @Nullable URI instance)
protected AbstractThrowableProblem(@Nullable URI type, @Nullable String title, @Nullable StatusType status, @Nullable String detail, @Nullable URI instance, @Nullable ThrowableProblem cause)
public URI getType()
Problempublic String getTitle()
Problempublic StatusType getStatus()
Problempublic String getDetail()
Problempublic URI getInstance()
ProblemCopyright © 2015–2017 Zalando SE. All rights reserved.