Interface implemented by components that can verify their internal state.
-
Method Summary
void
verify the state of the component and raise an exception if any state fails to verify.
static void
Verify they supplied object if it is verifiable.
-
Method Details
-
verify
verify the state of the component and raise an exception if any state fails to verify.
- Throws:
Exception
- if entity invalid.
-
verify
Verify they supplied object if it is verifiable.
- Parameters:
object
- the object to verify.
- Throws:
Exception
- if entity invalid.