microsoft.exchange.webservices.data.AutodiscoverRemoteException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exchange-ws-api Show documentation
Show all versions of exchange-ws-api Show documentation
The source came from http://archive.msdn.microsoft.com/ewsjavaapi
Support for Maven has been added.
The newest version!
/**************************************************************************
* copyright file="AutodiscoverRemoteException.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the AutodiscoverRemoteException.java.
**************************************************************************/
package microsoft.exchange.webservices.data;
/**
* Represents an exception that is thrown when the Autodiscover service returns
* an error.
*/
public class AutodiscoverRemoteException extends ServiceRemoteException {
/** The error. */
private AutodiscoverError error;
/**
* Initializes a new instance of the class.
*
* @param error
* the error
*/
public AutodiscoverRemoteException(AutodiscoverError error) {
super();
this.error = error;
}
/**
* Initializes a new instance of the class.
*
* @param message
* the message
* @param error
* the error
*/
protected AutodiscoverRemoteException(String message,
AutodiscoverError error) {
this.error = error;
}
/**
* Initializes a new instance of the class.
*
* @param message
* the message
* @param error
* the error
* @param innerException
* the inner exception
*/
public AutodiscoverRemoteException(String message, AutodiscoverError error,
Exception innerException) {
super(message, innerException);
this.error = error;
}
/**
* Gets the error. The error.
*
* @return the error
*/
public AutodiscoverError getError() {
return this.error;
}
}