Class ResourceValidator
java.lang.Object
ch.nolix.base.resourcecontrol.resourcevalidator.ResourceValidator
The
ResourceValidator provides methods to validate resources.
Of the ResourceValidator an instance cannot be created.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
assertIsOpen
- Parameters:
resource-- Throws:
RuntimeException- if the given resource is null.RuntimeException- if the given resource is closed.
-