com.asual.lesscss
Class LessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.asual.lesscss.LessException
All Implemented Interfaces:
Serializable

public class LessException
extends Exception

Author:
Rostislav Hristov, Uriah Carpenter
See Also:
Serialized Form

Constructor Summary
LessException()
           
LessException(String message)
           
LessException(String message, String errorType, String filename, int line, int column, List<String> extract)
           
LessException(String message, Throwable e)
           
LessException(Throwable e)
           
 
Method Summary
 int getColumn()
          Column number where error occurred as reported by less.js or -1 if unknown.
 List<String> getExtract()
          Lines around error as reported by less.js
 String getFilename()
          Filename that error occured in as reported by less.js
 int getLine()
          Line number where error occurred as reported by less.js or -1 if unknown.
 String getMessage()
           
 String getType()
          Type of error as reported by less.js
 
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

LessException

public LessException()

LessException

public LessException(String message)

LessException

public LessException(String message,
                     Throwable e)

LessException

public LessException(String message,
                     String errorType,
                     String filename,
                     int line,
                     int column,
                     List<String> extract)

LessException

public LessException(Throwable e)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getType

public String getType()
Type of error as reported by less.js


getFilename

public String getFilename()
Filename that error occured in as reported by less.js


getLine

public int getLine()
Line number where error occurred as reported by less.js or -1 if unknown.


getColumn

public int getColumn()
Column number where error occurred as reported by less.js or -1 if unknown.


getExtract

public List<String> getExtract()
Lines around error as reported by less.js



Copyright © 2013 Asual DZZD. All Rights Reserved.