at.ac.tuwien.infosys.sm4all.copal.api.util
Class NotRegisteredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.ac.tuwien.infosys.sm4all.copal.api.ContextException
              extended by at.ac.tuwien.infosys.sm4all.copal.api.util.NotRegisteredException
All Implemented Interfaces:
java.io.Serializable

public class NotRegisteredException
extends ContextException

Exception when an Object is not registered with a Registry.

Author:
sanjin
See Also:
Serialized Form

Constructor Summary
NotRegisteredException(java.lang.String name)
          Create instance of not-registered exception with the specified name of not-registered Object.
 
Method Summary
 java.lang.String getName()
          Returns the name of not-registered 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

NotRegisteredException

public NotRegisteredException(java.lang.String name)
Create instance of not-registered exception with the specified name of not-registered Object. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).

Parameters:
name - the name of not-registered Object (which is saved for later retrieval by the getName() method).
Method Detail

getName

public java.lang.String getName()
Returns the name of not-registered Object.

Returns:
the name of not-registered Object.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.