org.weborganic.bastille.util
Class ParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.weborganic.bastille.util.ParsingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JSMin.UnterminatedCommentException, JSMin.UnterminatedRegExpLiteralException, JSMin.UnterminatedStringLiteralException

public class ParsingException
extends Exception

Class of exceptions occurring while minimising content.

See Also:
Serialized Form

Constructor Summary
ParsingException(String message, int line, int column)
          Creates a new minimizer exception.
 
Method Summary
 int getColumn()
           
 int getLine()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParsingException

public ParsingException(String message,
                        int line,
                        int column)
Creates a new minimizer exception.

Parameters:
message - The message.
line - The line number.
column - The column number.
Method Detail

getColumn

public final int getColumn()
Returns:
The affected column number or -1 if unknown.

getLine

public final int getLine()
Returns:
The affected line number or -1 if unknown.

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable