NWNFiles.NWNFilesExceptions
Class NWNFileException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--NWNFiles.NWNFilesExceptions.NWNFileException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadFileType, FileDoesNotExist, InvalidFile, InvalidLanguageId, InvalidType, NameTooLong
- public abstract class NWNFileException
- extends Exception
- Author:
- Alexandre Brunel
Super class of all exception thrown by NWNFiles objects.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CurrentLanguage
protected static ResourceBundle CurrentLanguage
NWNFileException
public NWNFileException()
- Constructs a NWNFileException object.
NWNFileException
public NWNFileException(String message)
- Constructs an exception using a user defined message.
- Parameters:
message
- Message to use.
NWNFileException
public NWNFileException(String message,
Throwable cause)
NWNFileException
public NWNFileException(Throwable cause)
getCurrentLanguage
public static ResourceBundle getCurrentLanguage()
- Returns:
setCurrentLanguage
public static void setCurrentLanguage(Locale local)
- Parameters:
local
-