Package org.apache.derby.iapi.error
Class PublicAPI
- java.lang.Object
-
- org.apache.derby.iapi.error.PublicAPI
-
public class PublicAPI extends java.lang.Object
Class that wraps StandardExceptions in a SQLException. This is used to make any public API methods always throw SQLException rather than a random collection.
-
-
Constructor Summary
Constructors Constructor Description PublicAPI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.sql.SQLException
wrapStandardException(StandardException se)
Generates a SQLException for signalling that the operation failed due to a database error.
-
-
-
Method Detail
-
wrapStandardException
public static java.sql.SQLException wrapStandardException(StandardException se)
Generates a SQLException for signalling that the operation failed due to a database error.
-
-