org.apache.avalon.composition.model
Class ModelException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.composition.model.ModelException
All Implemented Interfaces:
CascadingThrowable, Serializable
Direct Known Subclasses:
AssemblyException, ProfileException, ServiceException, TypeException

public class ModelException
extends CascadingException

Exception to indicate that there was a model related error.

Version:
$Revision: 1.1.1.2 $ $Date: 2004/05/19 09:31:05 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ModelException(String message)
          Construct a new ModelException instance.
ModelException(String message, Throwable throwable)
          Construct a new ModelException 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

ModelException

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

Parameters:
message - The detail message for this exception.

ModelException

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

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


Copyright © The Apache Software Foundation. All Rights Reserved.