All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.exchange.webservices.data.DeleteAttachmentException Maven / Gradle / Ivy

Go to download

The source came from http://archive.msdn.microsoft.com/ewsjavaapi Support for Maven has been added.

The newest version!
/**************************************************************************
 * copyright file="DeleteAttachmentException.java" company="Microsoft"
 *     Copyright (c) Microsoft Corporation.  All rights reserved.
 * 
 * Defines the DeleteAttachmentException.java.
 **************************************************************************/
package microsoft.exchange.webservices.data;

/**
 * Represents an error that occurs when a call to the DeleteAttachment web
 * method fails.
 * 
 */
public final class DeleteAttachmentException extends 
		ServiceRemoteException {// extends
// BatchServiceResponseException


	/** The responses. */
	private ServiceResponseCollection responses;

	/**
	 * Initializes a new instance of DeleteAttachmentException.
	 * 
	 * @param serviceResponses
	 *            The list of responses to be associated with this exception.
	 * @param message
	 *            The message that describes the error.
	 */
	protected DeleteAttachmentException(
			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 DeleteAttachmentException.
	 * 
	 * @param serviceResponses
	 *            The list of responses to be associated with this exception.
	 * @param message
	 *            The message that describes the error.
	 * @param innerException
	 *            The exception that is the cause of the current exception.
	 */
	protected DeleteAttachmentException(
			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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy