|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.firebirdsql.gds.GDSExceptionHelper.GDSMessage
public static class GDSExceptionHelper.GDSMessage
This class wraps message template obtained from isc_error_msg.properties file and allows to set parameters to the message.
| Constructor Summary | |
|---|---|
GDSExceptionHelper.GDSMessage(java.lang.String template)
Constructs an instance of GDSMessage for the specified template. |
|
| Method Summary | |
|---|---|
int |
getParamCount()
Returns the number of parameters for the message template. |
void |
setParameter(int position,
java.lang.String text)
Sets the parameter value |
java.lang.String |
toString()
Puts parameters into the template and return the obtained string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GDSExceptionHelper.GDSMessage(java.lang.String template)
| Method Detail |
|---|
public int getParamCount()
public void setParameter(int position,
java.lang.String text)
position - the parameter number, 0 - first parameter.text - value of parameterpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||