@Immutable public class Problem extends Object
getMessageString()
method.Modifier and Type | Class and Description |
---|---|
static class |
Problem.Status |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CODE |
Constructor and Description |
---|
Problem(Problem.Status status,
int code,
I18n message,
Object[] params,
String resource,
String location,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getCode() |
String |
getLocation() |
I18n |
getMessage() |
String |
getMessageString()
Get the message written in the current locale.
|
Object[] |
getParameters() |
String |
getResource() |
Problem.Status |
getStatus() |
Throwable |
getThrowable() |
int |
hashCode() |
String |
toString() |
public static final int DEFAULT_CODE
public int getCode()
public String getLocation()
public String getMessageString()
public I18n getMessage()
public Object[] getParameters()
public String getResource()
public Problem.Status getStatus()
public Throwable getThrowable()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.