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

org.eclipse.core.commands.ParameterValueConversionException Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2005, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.core.commands;

import org.eclipse.core.commands.common.CommandException;

/**
 * Signals that a problem occurred while converting a command parameter value
 * from string to object, or object to string.
 * 
 * @see AbstractParameterValueConverter
 * @since 3.2
 */
public class ParameterValueConversionException extends CommandException {

	/**
	 * Generated serial version UID for this class.
	 */
	private static final long serialVersionUID = 4703077729505066104L;

	/**
	 * Creates a new instance of this class with the specified detail message.
	 * 
	 * @param message
	 *            the detail message; may be null.
	 */
	public ParameterValueConversionException(final String message) {
		super(message);
	}
	
	/**
	 * Creates a new instance of this class with the specified detail message
	 * and cause.
	 * 
	 * @param message
	 *            the detail message; may be null.
	 * @param cause
	 *            the cause; may be null.
	 */
	public ParameterValueConversionException(final String message,
			final Throwable cause) {
		super(message, cause);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy