javax.jmi.reflect
Class InvalidNameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jmi.reflect.JmiException
                  extended by javax.jmi.reflect.InvalidNameException
All Implemented Interfaces:
Serializable

public class InvalidNameException
extends JmiException

Thrown when a user pases an invalid feature name to a reflective method.

See Also:
Serialized Form

Constructor Summary
InvalidNameException(String invalidName)
          Constructs an InvalidNameException without detail message.
InvalidNameException(String invalidName, String msg)
          Constructs an InvalidNameException with the specified detail message.
 
Method Summary
 String getInvalidName()
          Returns invalid name.
 
Methods inherited from class javax.jmi.reflect.JmiException
getElementInError, getObjectInError
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidNameException

public InvalidNameException(String invalidName)
Constructs an InvalidNameException without detail message.

Parameters:
invalidName - Invalid name.

InvalidNameException

public InvalidNameException(String invalidName,
                            String msg)
Constructs an InvalidNameException with the specified detail message.

Parameters:
invalidName - Invalid name.
msg - the detail message.
Method Detail

getInvalidName

public String getInvalidName()
Returns invalid name.

Returns:
invalid name.


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.