cakoose.util.parser
Class ProblemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cakoose.util.parser.ProblemException
All Implemented Interfaces:
Serializable

public class ProblemException
extends Exception

See Also:
Serialized Form

Field Summary
 List<Problem> problems
           
 
Constructor Summary
ProblemException(Iterable<Problem> problems)
           
ProblemException(Problem problem)
           
 
Method Summary
 String getMessage()
           
static ProblemException pex(SourcePos sourcePos, String message)
           
static ProblemException pex(SourcePos sourcePos, String message, SourcePos l2, String m2)
           
 
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
 

Field Detail

problems

public final List<Problem> problems
Constructor Detail

ProblemException

public ProblemException(Problem problem)

ProblemException

public ProblemException(Iterable<Problem> problems)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

pex

public static ProblemException pex(SourcePos sourcePos,
                                   String message)

pex

public static ProblemException pex(SourcePos sourcePos,
                                   String message,
                                   SourcePos l2,
                                   String m2)