microsoft.exchange.webservices.data
Class AutodiscoverRemoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by microsoft.exchange.webservices.data.ServiceRemoteException
              extended by microsoft.exchange.webservices.data.AutodiscoverRemoteException
All Implemented Interfaces:
java.io.Serializable

public class AutodiscoverRemoteException
extends ServiceRemoteException

Represents an exception that is thrown when the Autodiscover service returns an error.

See Also:
Serialized Form

Constructor Summary
  AutodiscoverRemoteException(AutodiscoverError error)
          Initializes a new instance of the class.
protected AutodiscoverRemoteException(java.lang.String message, AutodiscoverError error)
          Initializes a new instance of the class.
  AutodiscoverRemoteException(java.lang.String message, AutodiscoverError error, java.lang.Exception innerException)
          Initializes a new instance of the class.
 
Method Summary
 AutodiscoverError getError()
          Gets the error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutodiscoverRemoteException

public AutodiscoverRemoteException(AutodiscoverError error)
Initializes a new instance of the class.

Parameters:
error - the error

AutodiscoverRemoteException

protected AutodiscoverRemoteException(java.lang.String message,
                                      AutodiscoverError error)
Initializes a new instance of the class.

Parameters:
message - the message
error - the error

AutodiscoverRemoteException

public AutodiscoverRemoteException(java.lang.String message,
                                   AutodiscoverError error,
                                   java.lang.Exception innerException)
Initializes a new instance of the class.

Parameters:
message - the message
error - the error
innerException - the inner exception
Method Detail

getError

public AutodiscoverError getError()
Gets the error. The error.

Returns:
the error