com.izforge.izpack.util.os
Class WrappedNativeLibException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.izforge.izpack.util.os.WrappedNativeLibException
- All Implemented Interfaces:
- java.io.Serializable
- public class WrappedNativeLibException
- extends java.lang.Exception
This class allows it to define error messages for 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.
- Author:
- Klaus Bartz
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
langpack
protected static LocaleDatabase langpack
- The packs locale database.
WrappedNativeLibException
public WrappedNativeLibException()
- Default constructor.
WrappedNativeLibException
public WrappedNativeLibException(java.lang.String message)
- Parameters:
message
-
WrappedNativeLibException
public WrappedNativeLibException(java.lang.Throwable cause)
- Parameters:
cause
-
WrappedNativeLibException
public WrappedNativeLibException(java.lang.String message,
java.lang.Throwable cause)
- Parameters:
message
- cause
-
getMessage
public java.lang.String getMessage()
getLangpack
public static LocaleDatabase getLangpack()
- Returns the langpack.
- Returns:
- Returns the langpack.
setLangpack
public static void setLangpack(LocaleDatabase langpack)
- Sets the langpack to the given locale database.
- Parameters:
langpack
- the langpack to set.