class BinaryValidationResult {

    public boolean isValid() {
        return reasonForInvalidity == null;
    }

    private  BinaryValidationResult(@Nullable final Throwable reasonForInvalidity);

}