org.mockcentral.server
Class UnknownProxyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mockcentral.server.UnknownProxyException
All Implemented Interfaces:
java.io.Serializable

public class UnknownProxyException
extends java.lang.RuntimeException

RuntimeException class used to indicate that a required Proxy object was not found in the map defined by a Fixture instance. This exception is thrown by various methods in the server when clients attempt to access unknown Proxy objects.

Author:
David Hutchinson
See Also:
Serialized Form

Constructor Summary
UnknownProxyException(java.lang.String unknownProxyName)
          Creates a new instance with the supplied unknown proxy Object name.
 
Method Summary
 java.lang.String getUnknownProxyName()
          Returns the name of the unknown proxy Object.
 
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

UnknownProxyException

public UnknownProxyException(java.lang.String unknownProxyName)
Creates a new instance with the supplied unknown proxy Object name.

Parameters:
unknownProxyName - the name of the unknown proxy Object.
Method Detail

getUnknownProxyName

public java.lang.String getUnknownProxyName()
Returns the name of the unknown proxy Object.

Returns:
the name of the unknown proxy Object.