We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd9e22 commit a793fc6Copy full SHA for a793fc6
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PosixSupportLibrary.java
@@ -875,7 +875,6 @@ public static class PosixException extends Exception {
875
private final TruffleString msg;
876
877
public PosixException(int errorCode, TruffleString message) {
878
- super(message.toJavaStringUncached());
879
this.errorCode = errorCode;
880
msg = message;
881
}
@@ -884,6 +883,11 @@ public final TruffleString getMessageAsTruffleString() {
884
883
return msg;
885
886
+ @Override
887
+ public String getMessage() {
888
+ return msg.toJavaStringUncached();
889
+ }
890
+
891
public int getErrorCode() {
892
return errorCode;
893
0 commit comments