com.sun.jdi.connect
public class: IllegalConnectorArgumentsException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.jdi.connect.IllegalConnectorArgumentsException
All Implemented Interfaces:
Serializable
Thrown to indicate an invalid argument or
inconsistent passed to a
Connector .
- author:
Gordon
- Hirsch
- since:
1.3
-
Field Summary |
---|
List<String> | names | |
Constructor: |
public IllegalConnectorArgumentsException(String s,
String name) {
super(s);
names = new ArrayList< String >(1);
names.add(name);
}
Construct an IllegalConnectorArgumentsException
with the specified detail message and the name of the argument
which is invalid or inconsistent. Parameters:
s - the detailed message.
name - the name of the invalid or inconsistent argument.
|
public IllegalConnectorArgumentsException(String s,
List<String> names) {
super(s);
this.names = new ArrayList< String >(names);
}
Construct an IllegalConnectorArgumentsException
with the specified detail message and a List of
names of arguments which are invalid or inconsistent. Parameters:
s - the detailed message.
names - a List containing the names of the
invalid or inconsistent argument.
|
Method from com.sun.jdi.connect.IllegalConnectorArgumentsException Summary: |
---|
argumentNames |
Methods from java.lang.Throwable: |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from com.sun.jdi.connect.IllegalConnectorArgumentsException Detail: |
public List<String> argumentNames() {
return Collections.unmodifiableList(names);
}
Return a List containing the names of the
invalid or inconsistent arguments. |