org.slim3.commons.exception
Class NameAlreadyBoundRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.slim3.commons.exception.SRuntimeException
                  extended by org.slim3.commons.exception.NamingRuntimeException
                      extended by org.slim3.commons.exception.NameAlreadyBoundRuntimeException
All Implemented Interfaces:
Serializable

public class NameAlreadyBoundRuntimeException
extends NamingRuntimeException

This exception is thrown when the name is already bound to an another object.

Author:
higa
See Also:
Serialized Form

Field Summary
protected  String name
          The name.
 
Constructor Summary
NameAlreadyBoundRuntimeException(String name)
          Constructor.
 
Method Summary
 String getName()
          Returns the name.
 
Methods inherited from class org.slim3.commons.exception.SRuntimeException
convertCauseMessage, getArgs, getMessageCode
 
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
 

Field Detail

name

protected String name
The name.

Constructor Detail

NameAlreadyBoundRuntimeException

public NameAlreadyBoundRuntimeException(String name)
Constructor.

Parameters:
name - the name
Method Detail

getName

public String getName()
Returns the name.

Returns:
the name


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.