de.unibi.techfak.jpredictor.motifs
Class CycleInMultiMotifExeption

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.unibi.techfak.jpredictor.motifs.CycleInMultiMotifExeption
All Implemented Interfaces:
java.io.Serializable

public class CycleInMultiMotifExeption
extends java.lang.RuntimeException

This exception is thrown, if a motif is inserted or added to a MultiMotif which would lead to a cycle in the MultiMotif

See Also:
MultiMotif.add(Motif), MultiMotif.add(Motif, int, int), MultiMotif.replaceMotif(Motif, int), Serialized Form

Constructor Summary
CycleInMultiMotifExeption()
          Simple constructor.
CycleInMultiMotifExeption(java.lang.String str)
          Given which motif caused the exception on what action (add,replace).
 
Method Summary
 
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

CycleInMultiMotifExeption

public CycleInMultiMotifExeption()
Simple constructor.


CycleInMultiMotifExeption

public CycleInMultiMotifExeption(java.lang.String str)
Given which motif caused the exception on what action (add,replace).

Parameters:
str - The string explaining the exception.