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

Field Summary
protected static ResourceBundle CurrentLanguage
           
 
Constructor Summary
NWNFileException()
          Constructs a NWNFileException object.
NWNFileException(String message)
          Constructs an exception using a user defined message.
NWNFileException(String message, Throwable cause)
           
NWNFileException(Throwable cause)
           
 
Method Summary
static ResourceBundle getCurrentLanguage()
           
static void setCurrentLanguage(Locale local)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CurrentLanguage

protected static ResourceBundle CurrentLanguage
Constructor Detail

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)
Method Detail

getCurrentLanguage

public static ResourceBundle getCurrentLanguage()
Returns:

setCurrentLanguage

public static void setCurrentLanguage(Locale local)
Parameters:
local -