|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.cxf.common.i18n.UncheckedException org.apache.cxf.interceptor.Fault
public class Fault
A Fault that occurs during invocation processing.
Field Summary | |
---|---|
static QName |
FAULT_CODE_CLIENT
|
static QName |
FAULT_CODE_SERVER
|
static String |
STACKTRACE
|
static String |
STACKTRACE_NAMESPACE
|
Fields inherited from class org.apache.cxf.common.i18n.UncheckedException |
---|
message |
Constructor Summary | |
---|---|
Fault(Message message)
|
|
Fault(Message message,
QName fc)
|
|
Fault(Message message,
Throwable throwable)
|
|
Fault(Message message,
Throwable throwable,
QName fc)
|
|
Fault(String message,
Logger log)
|
|
Fault(String message,
Logger log,
Throwable t)
|
|
Fault(String message,
Logger log,
Throwable t,
Object... params)
|
|
Fault(String message,
ResourceBundle b)
|
|
Fault(String message,
ResourceBundle b,
Throwable t)
|
|
Fault(String message,
ResourceBundle b,
Throwable t,
Object... params)
|
|
Fault(Throwable t)
|
|
Fault(Throwable t,
QName fc)
|
Method Summary | |
---|---|
Element |
getDetail()
Returns the detail node. |
QName |
getFaultCode()
|
String |
getLang()
|
String |
getMessage()
|
Element |
getOrCreateDetail()
Returns the detail node. |
int |
getStatusCode()
Returns http header status code. |
boolean |
hasDetails()
Indicates whether this fault has a detail message. |
void |
setDetail(Element details)
Sets a details Node on this fault. |
Fault |
setFaultCode(QName c)
|
void |
setLang(String convertedLang)
|
void |
setMessage(String message)
|
void |
setStatusCode(int statusCode)
Set http header status code on this fault. |
Methods inherited from class org.apache.cxf.common.i18n.UncheckedException |
---|
getCode |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QName FAULT_CODE_CLIENT
public static final QName FAULT_CODE_SERVER
public static final String STACKTRACE_NAMESPACE
public static final String STACKTRACE
Constructor Detail |
---|
public Fault(Message message, Throwable throwable)
public Fault(Message message)
public Fault(String message, Logger log)
public Fault(String message, ResourceBundle b)
public Fault(String message, Logger log, Throwable t)
public Fault(String message, ResourceBundle b, Throwable t)
public Fault(String message, Logger log, Throwable t, Object... params)
public Fault(String message, ResourceBundle b, Throwable t, Object... params)
public Fault(Throwable t)
public Fault(Message message, Throwable throwable, QName fc)
public Fault(Message message, QName fc)
public Fault(Throwable t, QName fc)
Method Detail |
---|
public String getMessage()
getMessage
in class UncheckedException
public void setMessage(String message)
public QName getFaultCode()
public Fault setFaultCode(QName c)
public Element getDetail()
public void setDetail(Element details)
Node
on this fault.
details
- the detail node.public boolean hasDetails()
true
if this fault has a detail message;
false
otherwise.public Element getOrCreateDetail()
<detail>
is created.
public int getStatusCode()
public void setStatusCode(int statusCode)
statusCode
- public void setLang(String convertedLang)
public String getLang()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |