class BinaryValidationResult {

    public static BinaryValidationResult invalid(final Throwable reasonForInvalidity) {
        return new BinaryValidationResult(checkNotNull(reasonForInvalidity, "reasonForInvalidity"));
    }

    private  BinaryValidationResult(@Nullable final Throwable reasonForInvalidity);

}