public class

SoapFault

extends Object
java.lang.Object
   ↳ com.netsuite.webservices.platform.faults_2010_2.SoapFault
Known Direct Subclasses

Class Overview

Java class for SoapFault complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SoapFault">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="code" type="{urn:types.faults_2010_2.platform.webservices.netsuite.com}FaultCodeType"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected FaultCodeType code
protected String message
Public Constructors
SoapFault()
Public Methods
FaultCodeType getCode()
Gets the value of the code property.
String getMessage()
Gets the value of the message property.
void setCode(FaultCodeType value)
Sets the value of the code property.
void setMessage(String value)
Sets the value of the message property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected FaultCodeType code

protected String message

Public Constructors

public SoapFault ()

Public Methods

public FaultCodeType getCode ()

Gets the value of the code property.

Returns

public String getMessage ()

Gets the value of the message property.

Returns
  • possible object is String

public void setCode (FaultCodeType value)

Sets the value of the code property.

Parameters
value Allowed object is FaultCodeType

public void setMessage (String value)

Sets the value of the message property.

Parameters
value Allowed object is String