Class SoapFaultDetails
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.SoapFaultDetails
-
public class SoapFaultDetails extends Object
Represents SoapFault details.
-
-
Constructor Summary
Constructors Constructor Description SoapFaultDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServiceErrorgetErrorCode()Gets the error code.Map<String,String>getErrorDetails()Gets the error details.protected StringgetExceptionType()Gets the exception type.protected StringgetFaultActor()Gets the fault actor.protected StringgetFaultCode()Gets the fault code.StringgetFaultString()Gets the fault string.protected intgetLineNumber()Gets the line number.protected StringgetMessage()Gets the message.protected intgetPositionWithinLine()Gets the position within line.ServiceErrorgetResponseCode()Gets the response code.static SoapFaultDetailsparse(EwsXmlReader reader, XmlNamespace soapNamespace)Parses the.protected voidsetErrorCode(ServiceError errorCode)Sets the error code.protected voidsetErrorDetails(Map<String,String> errorDetails)Sets the error details.protected voidsetExceptionType(String exceptionType)Sets the exception type.protected voidsetFaultActor(String faultActor)Sets the fault actor.protected voidsetFaultCode(String faultCode)Sets the fault code.protected voidsetFaultString(String faultString)Sets the fault string.protected voidsetLineNumber(int lineNumber)Sets the line number.protected voidsetMessage(String message)Sets the message.protected voidsetPositionWithinLine(int positionWithinLine)Sets the position within line.protected voidsetResponseCode(ServiceError responseCode)Sets the response code.
-
-
-
Constructor Detail
-
SoapFaultDetails
public SoapFaultDetails()
-
-
Method Detail
-
parse
public static SoapFaultDetails parse(EwsXmlReader reader, XmlNamespace soapNamespace) throws Exception
Parses the.- Parameters:
reader- the readersoapNamespace- the soap namespace- Returns:
- the soap fault details
- Throws:
Exception- the exception
-
getFaultCode
protected String getFaultCode()
Gets the fault code.- Returns:
- the fault code
-
setFaultCode
protected void setFaultCode(String faultCode)
Sets the fault code.- Parameters:
faultCode- the new fault code
-
getFaultString
public String getFaultString()
Gets the fault string.- Returns:
- the fault string
-
setFaultString
protected void setFaultString(String faultString)
Sets the fault string.- Parameters:
faultString- the new fault string
-
getFaultActor
protected String getFaultActor()
Gets the fault actor.- Returns:
- the fault actor
-
setFaultActor
protected void setFaultActor(String faultActor)
Sets the fault actor.- Parameters:
faultActor- the new fault actor
-
getResponseCode
public ServiceError getResponseCode()
Gets the response code.- Returns:
- the response code
-
setResponseCode
protected void setResponseCode(ServiceError responseCode)
Sets the response code.- Parameters:
responseCode- the new response code
-
getMessage
protected String getMessage()
Gets the message.- Returns:
- the message
-
setMessage
protected void setMessage(String message)
Sets the message.- Parameters:
message- the new message
-
getErrorCode
protected ServiceError getErrorCode()
Gets the error code.- Returns:
- the error code
-
setErrorCode
protected void setErrorCode(ServiceError errorCode)
Sets the error code.- Parameters:
errorCode- the new error code
-
getExceptionType
protected String getExceptionType()
Gets the exception type.- Returns:
- the exception type
-
setExceptionType
protected void setExceptionType(String exceptionType)
Sets the exception type.- Parameters:
exceptionType- the new exception type
-
getLineNumber
protected int getLineNumber()
Gets the line number.- Returns:
- the line number
-
setLineNumber
protected void setLineNumber(int lineNumber)
Sets the line number.- Parameters:
lineNumber- the new line number
-
getPositionWithinLine
protected int getPositionWithinLine()
Gets the position within line.- Returns:
- the position within line
-
setPositionWithinLine
protected void setPositionWithinLine(int positionWithinLine)
Sets the position within line.- Parameters:
positionWithinLine- the new position within line
-
getErrorDetails
public Map<String,String> getErrorDetails()
Gets the error details.- Returns:
- the error details
-
setErrorDetails
protected void setErrorDetails(Map<String,String> errorDetails)
Sets the error details.- Parameters:
errorDetails- the error details
-
-