microsoft.exchange.webservices.data.CreateAttachmentException 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="CreateAttachmentException.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the CreateAttachmentException.java.
**************************************************************************/
package microsoft.exchange.webservices.data;
/**
* Represents an error that occurs when a call to the CreateAttachment web
* method fails.
*
*/
public final class CreateAttachmentException extends
ServiceRemoteException {// extends
// BatchServiceResponseException
/** The responses. */
private ServiceResponseCollection responses;
/**
* Initializes a new instance of CreateAttachmentException.
*
* @param serviceResponses
* the service responses
* @param message
* the message
*/
protected CreateAttachmentException(
ServiceResponseCollection
serviceResponses,
String message) {
// super(serviceResponses,message);
super(message);
EwsUtilities.EwsAssert(serviceResponses != null,
"MultiServiceResponseException.ctor",
"serviceResponses is null");
this.responses = serviceResponses;
}
/**
* Initializes a new instance of CreateAttachmentException.
*
* @param serviceResponses
* the service responses
* @param message
* the message
* @param innerException
* the inner exception
*/
protected CreateAttachmentException(
ServiceResponseCollection
serviceResponses,
String message, Exception innerException) {
// super(serviceResponses, message, innerException);
super(message, innerException);
EwsUtilities.EwsAssert(serviceResponses != null,
"MultiServiceResponseException.ctor",
"serviceResponses is null");
this.responses = serviceResponses;
}
}