|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Fault
Faults may be returned from a service in response to receiving and acting upon messages. A fault consists of a unique code (MANDATORY) and a reason string (OPTIONAL).
Method Summary | |
---|---|
java.net.URI |
getCode()
|
java.lang.String |
getReason()
|
void |
setCode(java.net.URI code)
Set the unique code for this fault. |
void |
setReason(java.lang.String reason)
Set the optional reason for this fault. |
Method Detail |
---|
java.net.URI getCode()
void setCode(java.net.URI code)
code
- the code.java.lang.String getReason()
void setReason(java.lang.String reason)
reason
- the reason for the fault.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |