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

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.AlreadyRegisteredException
All Implemented Interfaces:
java.io.Serializable

public class AlreadyRegisteredException
extends ContextException

Exception when an Object is already registered with a Registry

Author:
sanjin
See Also:
Serialized Form

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

AlreadyRegisteredException

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

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

getName

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

Returns:
the name of already-registered Object.


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