public class Problem extends Object implements Serializable
Constructor and Description |
---|
Problem(JSON problem)
Creates a new
Problem object. |
Modifier and Type | Method and Description |
---|---|
JSON |
asJSON()
Returns the problem object, to access custom fields.
|
String |
getDetail()
Returns a human-readable description of the problem.
|
URI |
getType()
Returns the problem type.
|
String |
toString()
Returns the problem as JSON string.
|
Copyright © 2015–2019. All rights reserved.