org.biojava.bio.dp
Class IllegalTransitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.biojava.utils.NestedException
              extended byorg.biojava.bio.BioException
                  extended byorg.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 org.biojava.utils.NestedException
printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, 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()