mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
add classes and methods needed for GNU Classpath compatibility
Most of these methods are stubs which throw UnsupportedOperationExceptions for now.
This commit is contained in:
@ -13,8 +13,9 @@ package java.lang;
|
||||
import java.io.PrintStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Throwable {
|
||||
public class Throwable implements Serializable {
|
||||
private String message;
|
||||
private Object trace;
|
||||
private Throwable cause;
|
||||
@ -109,4 +110,9 @@ public class Throwable {
|
||||
cause.printStackTrace(sb, nl);
|
||||
}
|
||||
}
|
||||
|
||||
public Throwable fillInStackTrace() {
|
||||
trace = trace(0);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user