org.vladnput
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.vladnput.ParseException
All Implemented Interfaces:
java.io.Serializable

public class ParseException
extends java.lang.Exception

Exception thrown when parsing a Vlad file fails.

Author:
Patrick Higgins
See Also:
Serialized Form

Constructor Summary
ParseException(ParseErrors errors)
          Constructs a parsing exception
 
Method Summary
 ParseErrors getErrors()
          Gets the parse errors
 java.lang.String getMessage()
          Returns a potentially multiline string containing all the errors as reported by getErrors().reportErrors(PrintWriter).
 
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

ParseException

public ParseException(ParseErrors errors)
Constructs a parsing exception

Parameters:
errors - The parsing errors
Method Detail

getErrors

public ParseErrors getErrors()
Gets the parse errors

Returns:
Parse errors

getMessage

public java.lang.String getMessage()
Returns a potentially multiline string containing all the errors as reported by getErrors().reportErrors(PrintWriter).

Overrides:
getMessage in class java.lang.Throwable


Copyright © 2009 Patrick Higgins. All Rights Reserved.