KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > ParameterValueConversionException


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.core.commands;
12
13 import org.eclipse.core.commands.common.CommandException;
14
15 /**
16  * Signals that a problem occurred while converting a command parameter value
17  * from string to object, or object to string.
18  *
19  * @see AbstractParameterValueConverter
20  * @since 3.2
21  */

22 public class ParameterValueConversionException extends CommandException {
23
24     /**
25      * Generated serial version UID for this class.
26      */

27     private static final long serialVersionUID = 4703077729505066104L;
28
29     /**
30      * Creates a new instance of this class with the specified detail message.
31      *
32      * @param message
33      * the detail message; may be <code>null</code>.
34      */

35     public ParameterValueConversionException(final String JavaDoc message) {
36         super(message);
37     }
38     
39     /**
40      * Creates a new instance of this class with the specified detail message
41      * and cause.
42      *
43      * @param message
44      * the detail message; may be <code>null</code>.
45      * @param cause
46      * the cause; may be <code>null</code>.
47      */

48     public ParameterValueConversionException(final String JavaDoc message,
49             final Throwable JavaDoc cause) {
50         super(message, cause);
51     }
52 }
53
Popular Tags