public static final class GDSExceptionHelper.GDSMessage
extends java.lang.Object
Constructor and Description |
---|
GDSMessage(java.lang.String template)
Constructs an instance of GDSMessage for the specified template.
|
Modifier and Type | Method and Description |
---|---|
int |
getParamCount()
Returns the number of parameters for the message template.
|
void |
setParameter(int position,
java.lang.String text)
Sets the parameter value
|
void |
setParameters(java.util.List<java.lang.String> messageParameters)
Sets the parameter values.
|
java.lang.String |
toString()
Puts parameters into the template and return the obtained string.
|
public GDSMessage(java.lang.String template)
public int getParamCount()
public void setParameter(int position, java.lang.String text)
position
- the parameter number, 0 - first parameter.text
- value of parameterpublic void setParameters(java.util.List<java.lang.String> messageParameters)
Parameter values with an index value higher than the number of message arguments are added as extra parameters.
messageParameters
- Message parameterspublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.