Class AutodiscoverResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRemoteException
-
- microsoft.exchange.webservices.data.autodiscover.exception.AutodiscoverResponseException
-
- All Implemented Interfaces:
Serializable
public class AutodiscoverResponseException extends ServiceRemoteException
Represents an exception from an autodiscover error response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutodiscoverResponseException(AutodiscoverErrorCode errorCode, String message)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutodiscoverErrorCodegetErrorCode()Gets the ErrorCode for the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AutodiscoverResponseException
public AutodiscoverResponseException(AutodiscoverErrorCode errorCode, String message)
Initializes a new instance of the class.- Parameters:
errorCode- the error codemessage- the message
-
-
Method Detail
-
getErrorCode
public AutodiscoverErrorCode getErrorCode()
Gets the ErrorCode for the exception.- Returns:
- the error code
-
-