public enum FaultCode extends Enum<FaultCode>
SoapFault annotation.| Enum Constant and Description | 
|---|
| CLIENTConstant used to indicate that a  Clientfault must be created. | 
| CUSTOMConstant used to indicate that a fault must be created with a custom fault code. | 
| RECEIVERConstant  QNameused to indicate that aReceiverfault must be created. | 
| SENDERConstant  QNameused to indicate that aSenderfault must be created. | 
| SERVERConstant  QNameused to indicate that aServerfault must be created. | 
| Modifier and Type | Method and Description | 
|---|---|
| QName | value() | 
| static FaultCode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static FaultCode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final FaultCode CUSTOM
customFaultCode string property must be used on SoapFault.
 Note that custom Fault Codes are only supported on SOAP 1.1.
public static final FaultCode CLIENT
Client fault must be created.public static final FaultCode RECEIVER
QName used to indicate that a Receiver fault must be created.public static final FaultCode SENDER
QName used to indicate that a Sender fault must be created.public static final FaultCode SERVER
QName used to indicate that a Server fault must be created.public static FaultCode[] values()
for (FaultCode c : FaultCode.values()) System.out.println(c);
public static FaultCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic QName value()
Copyright © 2023 VMware, Inc.. All rights reserved.