Mercurial > hg > truffle
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/SlowPathException.java @ 9258:07f8d136a05e
Truffle API changes for the Frame API. Introduction of Assumptions class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 15:34:06 +0200 |
parents | 5e3d1a68664e |
children | 9db1377b0580 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/SlowPathException.java Tue Apr 23 15:08:11 2013 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/SlowPathException.java Tue Apr 23 15:34:06 2013 +0200 @@ -33,7 +33,36 @@ /** * Creates an exception thrown to enter a slow path. */ + public SlowPathException() { + } + + /** + * Creates an exception thrown to enter a slow path. + */ public SlowPathException(String message, Throwable cause) { super(message, cause); } + + /** + * Creates an exception thrown to enter a slow path. + */ + public SlowPathException(String message) { + super(message); + } + + /** + * Creates an exception thrown to enter a slow path. + */ + public SlowPathException(Throwable cause) { + super(cause); + } + + /** + * For performance reasons, this exception does not record any stack trace information. + */ + @SuppressWarnings("sync-override") + @Override + public Throwable fillInStackTrace() { + return null; + } }