public class ThrowingSavepoint extends Thrower implements Savepoint
Savepoint decorated to throw an SQLException on command.| Constructor and Description |
|---|
ThrowingSavepoint(Savepoint savepoint)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSavepointId() |
String |
getSavepointName() |
shouldThrow, startThrowing, startThrowingAfter, stopThrowingpublic ThrowingSavepoint(Savepoint savepoint)
savepoint - to decoratepublic int getSavepointId()
throws SQLException
getSavepointId in interface SavepointSQLExceptionSavepoint.getSavepointId()public String getSavepointName() throws SQLException
getSavepointName in interface SavepointSQLExceptionSavepoint.getSavepointName()Copyright © 2000–2015 PanEris. All rights reserved.