br.shob
Class PhantomCallException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--br.shob.PhantomCallException
All Implemented Interfaces:
Serializable

public class PhantomCallException
extends Exception

This exception is thrown when a live method is called on a PhantomReference. A live method is one that works only on valid shared references.

Version:
$Revision: 1.2 $
Author:
dukejeffrie, crolmos
See Also:
Serialized Form
Created:
September 8, 2002

Constructor Summary
PhantomCallException()
          Constructor for the PhantomCallException object
PhantomCallException(Object methodName)
          Constructor for the PhantomCallException object that receives the name of the method called.
PhantomCallException(Object methodName, Object[] args)
          Constructor for the PhantomCallException object that receives the name of the method and the method's arguments.
 
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

PhantomCallException

public PhantomCallException()
Constructor for the PhantomCallException object


PhantomCallException

public PhantomCallException(Object methodName)
Constructor for the PhantomCallException object that receives the name of the method called.

Parameters:
methodName - This argument's toString() value is used as the method's name when composing the detail message

PhantomCallException

public PhantomCallException(Object methodName,
                            Object[] args)
Constructor for the PhantomCallException object that receives the name of the method and the method's arguments.

Parameters:
methodName - This argument's toString() value is used as the method's name when composing the detail message
args - the arguments that were passed to the method