|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.cics.server.SoapFault
public class SoapFault
This class provides the Java interface to CICS SOAPFAULT API.
| Field Summary | |
|---|---|
static int |
CLIENT
Use for the faultcode when the fault is caused by the Client |
static int |
RECEIVER
Use for the faultcode when the fault is caused by the Receiver |
static java.lang.String |
SCCSID
The SCCSID constant |
static int |
SENDER
Use for the faultcode when the fault is caused by the Sender |
static int |
SERVER
Use for the faultcode when the fault is caused by the Server |
| Constructor Summary | |
|---|---|
SoapFault()
|
|
| Method Summary | |
|---|---|
static void |
addFaultstring(java.lang.String faultstring,
java.lang.String natlang)
Add a new faultstring to the fault that has been created. |
static void |
addSubcode(java.lang.String subcode)
Add a new subcode to the fault that has been created. |
static void |
create(int faultcode,
java.lang.String faultstring)
Create a new SOAPFault. |
static void |
create(int faultcode,
java.lang.String faultstring,
java.lang.String detail)
Create a new SOAPFault. |
static void |
create(int faultcode,
java.lang.String faultstring,
java.lang.String natlang,
java.lang.String detail)
Create a new SOAPFault. |
static void |
create(int faultcode,
java.lang.String faultstring,
java.lang.String natlang,
java.lang.String faultactor,
java.lang.String role,
java.lang.String detail)
Create a new SOAPFault. |
static void |
create(java.lang.String faultcodeString,
java.lang.String faultstring,
java.lang.String natlang,
java.lang.String faultactor,
java.lang.String role,
java.lang.String detail)
Create a new SOAPFault. |
static void |
delete()
Delete deletes a SOAPFault |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SCCSID
public static final int SENDER
public static final int RECEIVER
public static final int CLIENT
public static final int SERVER
| Constructor Detail |
|---|
public SoapFault()
| Method Detail |
|---|
public static void create(int faultcode,
java.lang.String faultstring,
java.lang.String natlang,
java.lang.String faultactor,
java.lang.String role,
java.lang.String detail)
throws InvalidRequestException,
CCSIDErrorException,
LengthErrorException
faultcode - Use one of SENDER, RECEIVER, CLIENT or SERVER to specify the SOAP fault code.faultstring - String describing the faultnatlang - the national language of the faultstring, xml:lang value.faultactor - The soap actor that created the faultrole - The role a SOAP node was acting in when a fault occurs. This only appears in a SOAP 1.2 faultdetail - The application specific error data in name-space qualified tags.
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void create(int faultcode,
java.lang.String faultstring,
java.lang.String natlang,
java.lang.String detail)
throws InvalidRequestException,
CCSIDErrorException,
LengthErrorException
faultcode - Use one of SENDER, RECEIVER, CLIENT or SERVER to specify the SOAP fault code.faultstring - String describing the faultnatlang - the national language of the faultstring, xml:lang value.detail - The application specific error data in name-space qualified tags.
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void create(int faultcode,
java.lang.String faultstring,
java.lang.String detail)
throws InvalidRequestException,
CCSIDErrorException,
LengthErrorException
faultcode - Use one of SENDER, RECEIVER, CLIENT or SERVER to specify the SOAP fault code.faultstring - String describing the faultdetail - The application specific error data in name-space qualified tags.
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void create(int faultcode,
java.lang.String faultstring)
throws InvalidRequestException,
CCSIDErrorException,
LengthErrorException
faultcode - Use one of SENDER, RECEIVER, CLIENT or SERVER to specify the SOAP fault code.faultstring - String describing the fault
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void create(java.lang.String faultcodeString,
java.lang.String faultstring,
java.lang.String natlang,
java.lang.String faultactor,
java.lang.String role,
java.lang.String detail)
throws InvalidRequestException,
CCSIDErrorException,
LengthErrorException
faultcodeString - String for faultcode to usefaultstring - String describing the faultnatlang - the national language of the faultstring, xml:lang value.faultactor - The soap actor that created the faultrole - The role a SOAP node was acting in when a fault occurs. This only appears in a SOAP 1.2 faultdetail - The application specific error data in name-space qualified tags.
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void addFaultstring(java.lang.String faultstring,
java.lang.String natlang)
throws RecordNotFoundException,
InvalidRequestException,
CCSIDErrorException,
LengthErrorException
faultstring - The new faultstring to add to a faultnatlang - The national language of the faultstring
RecordNotFoundException - A NOTFOUND occurred
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void addSubcode(java.lang.String subcode)
throws RecordNotFoundException,
InvalidRequestException,
CCSIDErrorException,
LengthErrorException
subcode - The new subcode string to add to a fault
RecordNotFoundException - A NOTFOUND occurred
InvalidRequestException - An INVREQ occurred
CCSIDErrorException - CCSIDERR
LengthErrorException - The length of one of the parameters was too large
public static void delete()
throws RecordNotFoundException
RecordNotFoundException - A NOTFOUND occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||