|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.error.SQLWarningFactory
public class SQLWarningFactory
This class generates SQLWarning instances. It has an understanding of Derby's internal error/warning message Ids, and transforms these to localised error messages and appropriate SQLState.
| Constructor Summary | |
|---|---|
SQLWarningFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLWarningFactory()
| Method Detail |
|---|
public static java.sql.SQLWarning newSQLWarning(java.lang.String messageId)
messageId - A Derby messageId as defined inorg.apache.derby.shared.common.reference.SQLState.
SQLState
public 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 message
SQLState
public 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 message
SQLState
public 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 message
SQLState
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||