javax.naming
Class InvalidNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.InvalidNameException
- All Implemented Interfaces:
- Serializable
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.
- See Also:
- Serialized Form
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, printStackTrace, printStackTrace, printStackTrace, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
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.