javax.naming
Class InvalidNameException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.naming.NamingException
|
+--javax.naming.InvalidNameException
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.
Authors:- Anthony Green (green@redhat.com)
- Mark Wielaard (mark@klomp.org)
InvalidNameException
public InvalidNameException()
Creates a new exception without setting any of its fields.
InvalidNameException
public InvalidNameException(java.lang.String msg)
Creates a new exception and sets the detailed message field.
All other fields are not set.
Parameters:
Name
. Thrown when aName
or component of a name is encountered that does not follow the syntactic rules of a particularName
class.