org.biojava.bio.dp
Class IllegalTransitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.biojava.bio.BioException
              extended by org.biojava.bio.dp.IllegalTransitionException
All Implemented Interfaces:
java.io.Serializable

public class IllegalTransitionException
extends BioException

This exception indicates that there is no transition between two states.

Author:
Matthew Pocock
See Also:
Serialized Form

Constructor Summary
IllegalTransitionException()
           
IllegalTransitionException(State from, State to)
           
IllegalTransitionException(State from, State to, java.lang.String message)
           
 
Method Summary
 State getFrom()
           
 State getTo()
           
 
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

IllegalTransitionException

public IllegalTransitionException(State from,
                                  State to,
                                  java.lang.String message)

IllegalTransitionException

public IllegalTransitionException(State from,
                                  State to)

IllegalTransitionException

public IllegalTransitionException()
Method Detail

getFrom

public State getFrom()

getTo

public State getTo()