Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.naming

Class InvalidNameException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--javax.naming.NamingException
         |
         +--javax.naming.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.

Authors:

Constructor Summary

InvalidNameException()

Creates a new exception without setting any of its fields.
InvalidNameException(java.lang.String msg)

Creates a new exception and sets the detailed message field.

Constructor Details

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: