mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-20 00:15:27 +00:00
Diff from Maxime Van Assche.
java/runtime/Commit.java:
Override fillInStackTrace() method to do nothing and avoid
constructing a stack trace.
18 lines
453 B
Java
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;
|
|
}
|
|
}
|
|
|