01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package com.sun.jdi.connect;
11:
12: import java.util.ArrayList;
13: import java.util.List;
14:
15: public class IllegalConnectorArgumentsException extends Exception {
16:
17: /**
18: * All serializable objects should have a stable serialVersionUID
19: */
20: private static final long serialVersionUID = 1L;
21:
22: List fNames;
23:
24: public IllegalConnectorArgumentsException(String message,
25: List argNames) {
26: super (message);
27: fNames = argNames;
28: }
29:
30: public IllegalConnectorArgumentsException(String message,
31: String argName) {
32: super (message);
33: fNames = new ArrayList(1);
34: fNames.add(argName);
35: }
36:
37: public List argumentNames() {
38: return fNames;
39: }
40: }
|