javax.naming

Class InvalidNameException

public class InvalidNameException extends NamingException

Exception indicating an invalid component or Name. Thrown when a Name or component of a name is encountered that does not follow the syntactic rules of a particular Name class.
Constructor Summary
InvalidNameException()
Creates a new exception without setting any of its fields.
InvalidNameException(String msg)
Creates a new exception and sets the detailed message field.

Constructor Detail

InvalidNameException

public InvalidNameException()
Creates a new exception without setting any of its fields.

InvalidNameException

public InvalidNameException(String msg)
Creates a new exception and sets the detailed message field. All other fields are not set.