public abstract class TemplatedViolatedConstraintNameExtracter extends Object implements ViolatedConstraintNameExtracter
| Constructor and Description | 
|---|
TemplatedViolatedConstraintNameExtracter()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
extractUsingTemplate(String templateStart,
                    String templateEnd,
                    String message)
Extracts the constraint name based on a template (i.e., templateStartconstraintNametemplateEnd). 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractConstraintNamepublic TemplatedViolatedConstraintNameExtracter()
protected String extractUsingTemplate(String templateStart, String templateEnd, String message)
templateStart - The pattern denoting the start of the constraint name within the message.templateEnd - The pattern denoting the end of the constraint name within the message.message - The templated error message containing the constraint name.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.