Class AutodiscoverRemoteException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRemoteException
-
- microsoft.exchange.webservices.data.autodiscover.exception.AutodiscoverRemoteException
-
- All Implemented Interfaces:
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
Constructors Constructor Description AutodiscoverRemoteException(String message, AutodiscoverError error)Initializes a new instance of the class.AutodiscoverRemoteException(String message, AutodiscoverError error, Exception innerException)Initializes a new instance of the class.AutodiscoverRemoteException(AutodiscoverError error)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutodiscoverErrorgetError()Gets the error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AutodiscoverRemoteException
public AutodiscoverRemoteException(AutodiscoverError error)
Initializes a new instance of the class.- Parameters:
error- the error
-
AutodiscoverRemoteException
public AutodiscoverRemoteException(String message, AutodiscoverError error)
Initializes a new instance of the class.- Parameters:
message- the messageerror- the error
-
AutodiscoverRemoteException
public AutodiscoverRemoteException(String message, AutodiscoverError error, Exception innerException)
Initializes a new instance of the class.- Parameters:
message- the messageerror- the errorinnerException- the inner exception
-
-
Method Detail
-
getError
public AutodiscoverError getError()
Gets the error.- Returns:
- the error
-
-