org.jdtaus.core.container
Class DuplicateMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.jdtaus.core.container.DuplicateMessageException
All Implemented Interfaces:
Serializable

public class DuplicateMessageException
extends IllegalArgumentException

Gets thrown for duplicate messages.

Version:
$Id: DuplicateMessageException.java 8044 2009-07-02 01:29:05Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
DuplicateMessageException(String name)
          Creates a new instance of DuplicateMessageException taking the name of the duplicate message.
 
Method Summary
 String getName()
          Gets the name of the duplicate message.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateMessageException

public DuplicateMessageException(String name)
Creates a new instance of DuplicateMessageException taking the name of the duplicate message.

Parameters:
name - the name of the duplicate message.
Method Detail

getName

public String getName()
Gets the name of the duplicate message.

Returns:
the name of the duplicate message or null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.