54 lines
1.5 KiB
Java
54 lines
1.5 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.baja.sys;
|
|
|
|
import javax.baja.sys.BajaRuntimeException;
|
|
import javax.baja.sys.Context;
|
|
import javax.baja.sys.Localizable;
|
|
import javax.baja.sys.LocalizableException;
|
|
|
|
public class LocalizableRuntimeException
|
|
extends BajaRuntimeException
|
|
implements Localizable {
|
|
private String lexiconModule;
|
|
private String lexiconKey;
|
|
private Object[] lexiconArgs;
|
|
|
|
public String getLexiconModule() {
|
|
return this.lexiconModule;
|
|
}
|
|
|
|
public String getLexiconKey() {
|
|
return this.lexiconKey;
|
|
}
|
|
|
|
public Object[] getLexiconArguments() {
|
|
return this.lexiconArgs;
|
|
}
|
|
|
|
public String toString(Context context) {
|
|
return LocalizableException.format(this.lexiconModule, this.lexiconKey, this.lexiconArgs, context);
|
|
}
|
|
|
|
public LocalizableRuntimeException(String string, String string2, Object[] objectArray, Throwable throwable) {
|
|
super(LocalizableException.format(string, string2, objectArray, null), throwable);
|
|
this.lexiconModule = string;
|
|
this.lexiconKey = string2;
|
|
this.lexiconArgs = objectArray;
|
|
}
|
|
|
|
public LocalizableRuntimeException(String string, String string2, Object[] objectArray) {
|
|
this(string, string2, objectArray, null);
|
|
}
|
|
|
|
public LocalizableRuntimeException(String string, String string2, Throwable throwable) {
|
|
this(string, string2, null, throwable);
|
|
}
|
|
|
|
public LocalizableRuntimeException(String string, String string2) {
|
|
this(string, string2, null, null);
|
|
}
|
|
}
|
|
|