org.firebirdsql.gds
Class GDSExceptionHelper
java.lang.Object
org.firebirdsql.gds.GDSExceptionHelper
public class GDSExceptionHelper
extends java.lang.Object
This class is supposed to return messages for the specified error code.
It loads all messages during the class initialization and keeps messages
in the static java.util.Properties
variable.
static class | GDSExceptionHelper.GDSMessage - This class wraps message template obtained from isc_error_msg.properties
file and allows to set parameters to the message.
|
getMessage
public static GDSExceptionHelper.GDSMessage getMessage(int code)
This method returns a message for the specified error code.
code
- Firebird error code
- instance of
GDSExceptionHelper.GDSMesssage
class
where you can set desired parameters.
Copyright B) 2001 David Jencks and other authors. All rights reserved.