public static class TestConstraints.AlsoWorks extends BaseConstraint
| Constructor and Description |
|---|
AlsoWorks() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(Put p)
Check a
Put to ensure it is valid for the table. |
public void check(Put p)
ConstraintPut to ensure it is valid for the table. If the Put
is valid, then just return from the method. Otherwise, throw an
Exception specifying what happened. This Exception is
propagated back to the client so you can see what caused the Put to
fail.p - Put to check