microsoft.exchange.webservices.data.misc
Class SoapFaultDetails

java.lang.Object
  extended by microsoft.exchange.webservices.data.misc.SoapFaultDetails

public class SoapFaultDetails
extends Object

Represents SoapFault details.


Constructor Summary
SoapFaultDetails()
           
 
Method Summary
protected  ServiceError getErrorCode()
          Gets the error code.
 Map<String,String> getErrorDetails()
          Gets the error details.
protected  String getExceptionType()
          Gets the exception type.
protected  String getFaultActor()
          Gets the fault actor.
protected  String getFaultCode()
          Gets the fault code.
 String getFaultString()
          Gets the fault string.
protected  int getLineNumber()
          Gets the line number.
protected  String getMessage()
          Gets the message.
protected  int getPositionWithinLine()
          Gets the position within line.
 ServiceError getResponseCode()
          Gets the response code.
static SoapFaultDetails parse(EwsXmlReader reader, XmlNamespace soapNamespace)
          Parses the.
protected  void setErrorCode(ServiceError errorCode)
          Sets the error code.
protected  void setErrorDetails(Map<String,String> errorDetails)
          Sets the error details.
protected  void setExceptionType(String exceptionType)
          Sets the exception type.
protected  void setFaultActor(String faultActor)
          Sets the fault actor.
protected  void setFaultCode(String faultCode)
          Sets the fault code.
protected  void setFaultString(String faultString)
          Sets the fault string.
protected  void setLineNumber(int lineNumber)
          Sets the line number.
protected  void setMessage(String message)
          Sets the message.
protected  void setPositionWithinLine(int positionWithinLine)
          Sets the position within line.
protected  void setResponseCode(ServiceError responseCode)
          Sets the response code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapFaultDetails

public SoapFaultDetails()
Method Detail

parse

public static SoapFaultDetails parse(EwsXmlReader reader,
                                     XmlNamespace soapNamespace)
                              throws Exception
Parses the.

Parameters:
reader - the reader
soapNamespace - 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


Copyright © 2012–2015 Microsoft. All rights reserved.