org.apache.avalon.composition.model
Class TypeDuplicateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.composition.model.ModelException
                  extended byorg.apache.avalon.composition.model.TypeException
                      extended byorg.apache.avalon.composition.model.TypeDuplicateException
All Implemented Interfaces:
CascadingThrowable, Serializable

public final class TypeDuplicateException
extends TypeException

Exception raised in response to an attempt to override the defintion of an existing type.

Version:
$Revision: 1.2 $ $Date: 2004/01/24 23:25:25 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
TypeDuplicateException(String message)
          Construct a new TypeDuplicateException instance.
TypeDuplicateException(String message, Throwable throwable)
          Construct a new TypeDuplicateException instance.
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

TypeDuplicateException

public TypeDuplicateException(String message)
Construct a new TypeDuplicateException instance.

Parameters:
message - The detail message for this exception.

TypeDuplicateException

public TypeDuplicateException(String message,
                              Throwable throwable)
Construct a new TypeDuplicateException instance.

Parameters:
message - The detail message for this exception.
throwable - the root cause of the exception


Copyright © The Apache Software Foundation. All Rights Reserved.