Package | Description |
---|---|
org.valid4j.errors |
Contract violation errors
These errors are thrown to signal a programming error have
been detected during runtime.
|
org.valid4j.impl |
Implementation package
|
Modifier and Type | Class and Description |
---|---|
class |
EnsureViolation
Exception thrown to indicate that a programming error have been detected,
on the suppliers part.
|
class |
NeverGetHereViolation
Exception being thrown to indicate that supposedly unreachable code
have been reached, and that this is considered a programming error.
|
class |
RequireViolation
Exception thrown to indicate that a programming error have been detected,
on the clients part.
|
Modifier and Type | Method and Description |
---|---|
static List<ContractViolation> |
AssertiveDefaultProvider.getFirstTrackedViolations()
Get the first contract violations that have occurred in current process.
|
Constructor and Description |
---|
EnsureViolationPolicy(Queue<ContractViolation> violations) |
NeverGetHerePolicy(Queue<ContractViolation> violations) |
RequireViolationPolicy(Queue<ContractViolation> violations) |
TrackingViolationPolicy(Queue<ContractViolation> violations) |
Copyright © 2014–2015 valid4j. All rights reserved.