public class

IllegalConnectorArgumentsException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.sun.jdi.connect.IllegalConnectorArgumentsException

Class Overview

Thrown to indicate an invalid argument or inconsistent passed to a Connector.

Summary

Public Constructors
IllegalConnectorArgumentsException(String s, String name)
Construct an IllegalConnectorArgumentsException with the specified detail message and the name of the argument which is invalid or inconsistent.
IllegalConnectorArgumentsException(String s, List<String> names)
Construct an IllegalConnectorArgumentsException with the specified detail message and a List of names of arguments which are invalid or inconsistent.
Public Methods
List<String> argumentNames()
Return a List containing the names of the invalid or inconsistent arguments.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalConnectorArgumentsException (String s, String 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)

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.

Public Methods

public List<String> argumentNames ()

Return a List containing the names of the invalid or inconsistent arguments.

Returns
  • a List of argument names.