|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.error.PublicAPI
public class PublicAPI
Class that wraps StandardExceptions in a SQLException. This is used to make any public API methods always throw SQLException rather than a random collection. This wrapping is also special cased by TypeStatementException to avoid double wrapping of some errors.
This will get cleaned up in main.
| Constructor Summary | |
|---|---|
PublicAPI()
|
|
| Method Summary | |
|---|---|
static java.sql.SQLException |
wrapStandardException(StandardException se)
Generates a SQLException for signalling that the operation failed due to a database error. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublicAPI()
| Method Detail |
|---|
public static java.sql.SQLException wrapStandardException(StandardException se)
|
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 | ||||||||