public class WrappedNativeLibException
extends java.lang.Exception
NativeLibException
s in the
IzPack locale files. The getMessage methode searches in the current langpack for entries which
are corresponding to that one which are received from native part. If the langpack do not contain
the entry, the resource boundle is used.Modifier and Type | Field and Description |
---|---|
protected static LocaleDatabase |
langpack
The packs locale database.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
WrappedNativeLibException()
Default constructor.
|
WrappedNativeLibException(java.lang.String message) |
WrappedNativeLibException(java.lang.String message,
java.lang.Throwable cause) |
WrappedNativeLibException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static LocaleDatabase |
getLangpack()
Returns the langpack.
|
java.lang.String |
getMessage() |
static void |
setLangpack(LocaleDatabase langpack)
Sets the langpack to the given locale database.
|
private static final long serialVersionUID
protected static LocaleDatabase langpack
public WrappedNativeLibException()
public WrappedNativeLibException(java.lang.String message)
message
- public WrappedNativeLibException(java.lang.Throwable cause)
cause
- public WrappedNativeLibException(java.lang.String message, java.lang.Throwable cause)
message
- cause
- public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public static LocaleDatabase getLangpack()
public static void setLangpack(LocaleDatabase langpack)
langpack
- the langpack to set.