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

microsoft.exchange.webservices.data.CreateAttachmentException 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="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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy