| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract String | |
| public String | extractConstraintName(SQLException
The exception that was the result of the constraint violation. sqle)Implements org. |
| protected String | Returns: The found constraint name, or null.The pattern denoting the start of the constraint name within the message. templateStart, String The pattern denoting the end of the constraint name within the message. templateEnd, String The templated error message containing the constraint name. message)Extracts the constraint name based on a template (i.e., templateStartconstraintNametemplateEnd). |
| TemplatedViolatedConstraintNameExtracter | back to summary |
|---|---|
| public TemplatedViolatedConstraintNameExtracter() | |
| doExtractConstraintName | back to summary |
|---|---|
| protected abstract String doExtractConstraintName(SQLException sqle) throws NumberFormatException | |
| extractConstraintName | back to summary |
|---|---|
| public String extractConstraintName(SQLException sqle) Implements org. Doc from org. Extract the name of the violated constraint from the given SQLException.
| |
| extractUsingTemplate | back to summary |
|---|---|
| protected String extractUsingTemplate(String templateStart, String templateEnd, String message) Extracts the constraint name based on a template (i.e., templateStartconstraintNametemplateEnd).
| |