i3.dragos.exception
Class InheritanceCycleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by i3.dragos.exception.DragosException
              extended by i3.dragos.exception.SchemaCheckException
                  extended by i3.dragos.exception.InheritanceCycleException
All Implemented Interfaces:
java.io.Serializable

public class InheritanceCycleException
extends SchemaCheckException

An InheritanceCycleException is thrown when the inheritance hierachy contains a cycle.

Author:
Boris Boehlen <boehlen@cs.rwth-aachen.de>
See Also:
Serialized Form

Constructor Summary
InheritanceCycleException(java.lang.String message, GraphEntityClass problem)
          Constructs a new exception with the given message.
InheritanceCycleException(java.lang.String message, java.lang.Throwable throwable, GraphEntityClass problem)
          Constructs a new exception with the given message which is wrapped around an exception.
 
Method Summary
 
Methods inherited from class i3.dragos.exception.SchemaCheckException
getProblem
 
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

InheritanceCycleException

public InheritanceCycleException(java.lang.String message,
                                 GraphEntityClass problem)
Constructs a new exception with the given message.

Parameters:
message - A message describing the reason of the exception.
problem - the graph entity class that caused the cycle.

InheritanceCycleException

public InheritanceCycleException(java.lang.String message,
                                 java.lang.Throwable throwable,
                                 GraphEntityClass problem)
Constructs a new exception with the given message which is wrapped around an exception.

Parameters:
message - A message describing the reason of the exception.
throwable - The exception.
problem - the graph entity class that caused the cycle.


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.