org.stjs.testing
Class JSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stjs.testing.JSException
- All Implemented Interfaces:
- Serializable
public class JSException
- extends RuntimeException
A placeholder class for javascript exceptions. Since STJS doesn't handle typed exceptions yet, the only Type of
Throwable that is accepted by the STJSTestDriverRunner in the @Test.expected field is this class. This makes
sure that users of the @Test annotation clearly understand that it is currently not possible to distinguish between
different types of exceptions in STJS, and by extension in the STJS JUnit runner.
- Author:
- lordofthepigs
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JSException
public JSException()
Copyright © 2013. All Rights Reserved.