Skip to content

Commit 7980de3

Browse files
hansonrhansonr
authored andcommitted
Exception.initCause(Throwable) typo in name
1 parent 368f622 commit 7980de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/srcjs/js/j2sClazz.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5083,7 +5083,7 @@ m$(C$, 'getCause$', function () {
50835083
return (this.cause === this ? null : this.cause);
50845084
});
50855085

5086-
m$(C$, 'initCause$Throwable$', function (cause) {
5086+
m$(C$, 'initCause$Throwable', function (cause) {
50875087
if (this.cause !== this) throw Clazz.new_(IllegalStateException.c$$S,["Can't overwrite cause"]);
50885088
if (cause === this) throw Clazz.new_(IllegalArgumentException.c$$S,["Self-causation not permitted"]);
50895089
this.cause = cause;

0 commit comments

Comments
 (0)