javax.jmi.reflect
Class InvalidCallException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.jmi.reflect.JmiException
                          |
                          +--javax.jmi.reflect.InvalidCallException
All Implemented Interfaces:
java.io.Serializable

public class InvalidCallException
extends JmiException

Thrown by reflection methods when client tries to call them incorrectly. (e.g. when refSetValue is called for attribute which is not changeable)

See Also:
Serialized Form

Constructor Summary
InvalidCallException(java.lang.Object objectInError, RefObject elementInError)
          Constructs an InvalidCallException without detail message.
InvalidCallException(java.lang.Object objectInError, RefObject elementInError, java.lang.String msg)
          Constructs an InvalidCallException with the specified detail message.
 
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

InvalidCallException

public InvalidCallException(java.lang.Object objectInError,
                            RefObject elementInError)
Constructs an InvalidCallException without detail message.

Parameters:
objectInError - object in error
elementInError - element in error.

InvalidCallException

public InvalidCallException(java.lang.Object objectInError,
                            RefObject elementInError,
                            java.lang.String msg)
Constructs an InvalidCallException with the specified detail message.

Parameters:
objectInError - object in error
elementInError - element in error.
msg - the detail message.