| java.lang.Object org.apache.derby.iapi.jdbc.FailedProperties40
FailedProperties40 | public class FailedProperties40 (Code) | | Class FailedProperties40 is a helper class for the
SQLClientInfoException. It provides convenient access to data
that is needed when constructing SQLClientInfoExceptions. Should
be kept in sync with its client side counter part
(org.apache.derby.client.am.FailedProperties40).
See Also: java.sql.SQLClientInfoException See Also: org.apache.derby.client.am.FailedProperties40 |
FailedProperties40 | public FailedProperties40(Properties props)(Code) | | Creates a new FailedProperties40 instance. Since
Derby doesn't support any properties, all the keys from the
props parameter are added to the
failedProps_ member with value
REASON_UNKNOWN_PROPERTY.
Parameters: props - a Properties value. Can be null or empty |
getFirstKey | public String getFirstKey()(Code) | | getFirstKey returns the first property key. Used
when SQLClientInfoException is thrown with a parameterized error
message.
a String value |
getFirstValue | public String getFirstValue()(Code) | | getFirstValue returns the first property value. Used
when SQLClientInfoException is thrown with a parameterized error
message.
a String value |
getProperties | public Map<String, ClientInfoStatus> getProperties()(Code) | | getProperties provides a
Map object describing the
failed properties (as specified in the javadoc for
java.sql.SQLClientInfoException).
a Map object withthe failed property keys and the reason why each failed |
makeProperties | public static Properties makeProperties(String name, String value)(Code) | | Helper method that creates a Propery object from the name-value
pair given as arguments.
Parameters: name - property key Parameters: value - property value the created Properties object |
|
|