public class WrappedNativeLibException extends 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(String message) |
WrappedNativeLibException(String message,
Throwable cause) |
WrappedNativeLibException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static LocaleDatabase |
getLangpack()
Returns the langpack.
|
String |
getMessage() |
static void |
setLangpack(LocaleDatabase langpack)
Sets the langpack to the given locale database.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
protected static LocaleDatabase langpack
public WrappedNativeLibException()
public WrappedNativeLibException(String message)
message
- public WrappedNativeLibException(Throwable cause)
cause
- public WrappedNativeLibException(String message, Throwable cause)
message
- cause
- public String getMessage()
getMessage
in class Throwable
public static LocaleDatabase getLangpack()
public static void setLangpack(LocaleDatabase langpack)
langpack
- the langpack to set.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses