public class SQLWarningFactory
extends java.lang.Object
| Constructor and Description |
|---|
SQLWarningFactory() |
| Modifier and Type | Method and Description |
|---|---|
static java.sql.SQLWarning |
newSQLWarning(java.lang.String messageId)
Generates a SQLWarning instance based on the supplied messageId.
|
static java.sql.SQLWarning |
newSQLWarning(java.lang.String messageId,
java.lang.Object arg1)
Generates a SQLWarning instance based on the supplied messageId and
argument.
|
static java.sql.SQLWarning |
newSQLWarning(java.lang.String messageId,
java.lang.Object[] args)
Generates a SQLWarning instance based on the supplied messageId and
arguments.
|
static java.sql.SQLWarning |
newSQLWarning(java.lang.String messageId,
java.lang.Object arg1,
java.lang.Object arg2)
Generates a SQLWarning instance based on the supplied messageId and
arguments.
|
public static java.sql.SQLWarning newSQLWarning(java.lang.String messageId)
messageId - A Derby messageId as defined inorg.apache.derby.shared.common.reference.SQLState.SQLStatepublic static java.sql.SQLWarning newSQLWarning(java.lang.String messageId,
java.lang.Object arg1)
messageId - A Derby messageId as defined in org.apache.derby.shared.common.reference.SQLState.arg1 - An argument for the warning messageSQLStatepublic static java.sql.SQLWarning newSQLWarning(java.lang.String messageId,
java.lang.Object arg1,
java.lang.Object arg2)
messageId - A Derby messageId as defined in org.apache.derby.shared.common.reference.SQLState.arg1 - First argument for the warning messagearg2 - Second argument for the warning messageSQLStatepublic static java.sql.SQLWarning newSQLWarning(java.lang.String messageId,
java.lang.Object[] args)
messageId - A Derby messageId as defined in org.apache.derby.shared.common.reference.SQLState.args - Arguments for the warning messageSQLStateApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.