private static void check(ValidationResult result) throws DicomServiceException { if (!result.isValid()) throw new DicomServiceException( Status.IdentifierDoesNotMatchSOPClass, result.getErrorComment()) .setOffendingElements(result.getOffendingElements()); } }
private static void check(ValidationResult result) throws DicomServiceException { if (!result.isValid()) throw new DicomServiceException( Status.IdentifierDoesNotMatchSOPClass, result.getErrorComment()) .setOffendingElements(result.getOffendingElements()); } }