|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dk.brics.xsugar.XSugarException
public class XSugarException
Exception caused by illegal XSugar stylesheet.
| Constructor Summary | |
|---|---|
XSugarException(Exception cause)
Constructs a chained XSugar exception. |
|
XSugarException(String message)
Constructs a new XSugar exception. |
|
XSugarException(String message,
Location loc)
Constructs a new XSugar exception. |
|
| Method Summary | |
|---|---|
Location |
getLocation()
Returns the source location of this XSugar exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
|---|
public XSugarException(Exception cause)
cause - cause of the errorpublic XSugarException(String message)
message - error message
public XSugarException(String message,
Location loc)
message - error messageloc - location in source string| Method Detail |
|---|
public Location getLocation()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||