dk.brics.servletvalidator.exceptions
Class ConstructionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by dk.brics.servletvalidator.exceptions.AnalysisException
                  extended by dk.brics.servletvalidator.exceptions.ConstructionException
All Implemented Interfaces:
Serializable

public class ConstructionException
extends AnalysisException

Thrown if the grammar cannot be constructed from the servlet. This can happen if a character range ranges over something that could be parenthesis but are unknown

See Also:
Serialized Form

Constructor Summary
ConstructionException()
           
ConstructionException(String message)
           
ConstructionException(String message, Throwable cause)
           
ConstructionException(Throwable cause)
           
 
Method Summary
 dk.brics.automaton.Automaton getAutomaton()
           
 String getMessage()
           
 NonTerminal getNonTerminal()
           
 void setAutomaton(dk.brics.automaton.Automaton automaton)
           
 void setNonTerminal(NonTerminal nonTerminal)
           
 
Methods inherited from class dk.brics.servletvalidator.exceptions.AnalysisException
getCodeLocation, setCodeLocation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ConstructionException

public ConstructionException()

ConstructionException

public ConstructionException(String message)

ConstructionException

public ConstructionException(String message,
                             Throwable cause)

ConstructionException

public ConstructionException(Throwable cause)
Method Detail

getAutomaton

public dk.brics.automaton.Automaton getAutomaton()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getNonTerminal

public NonTerminal getNonTerminal()

setAutomaton

public void setAutomaton(dk.brics.automaton.Automaton automaton)

setNonTerminal

public void setNonTerminal(NonTerminal nonTerminal)


Copyright © 2008 Mathias Schwarz.