Files
mercury/java/runtime/Commit.java
Julien Fischer dec08ab404 Avoid filling in the stack trace for Java commits.
Diff from Maxime Van Assche.

java/runtime/Commit.java:
    Override fillInStackTrace() method to do nothing and avoid
    constructing a stack trace.
2017-11-08 05:27:27 -05:00

18 lines
453 B
Java

//
// Copyright (C) 2002 The University of Melbourne.
// This file may only be copied under the terms of the GNU Library General
// Public License - see the file COPYING.LIB in the Mercury distribution.
//
// This is a throwable class used for the Java implementation of commits.
//
package jmercury.runtime;
public class Commit extends java.lang.Error {
public Throwable fillInStackTrace() {
// Do nothing.
return this;
}
}