Refactor CMS UUID factory
[lgpl/argeo-commons.git] / org.argeo.api.uuid / src / org / argeo / api / uuid / MacAddressUuidFactory.java
index 31fe3783112661e23f28074d31669870c0db0d42..51d68e3ef2aefb0420366ae212a17c108e229ceb 100644 (file)
@@ -52,7 +52,7 @@ public class MacAddressUuidFactory extends ConcurrentUuidFactory {
 
        }
 
-       public static byte[] hardwareAddressToNodeId(NetworkInterface nic) {
+       public static byte[] hardwareAddressToNodeId(NetworkInterface nic) throws IllegalStateException {
                try {
                        byte[] hardwareAddress = nic.getHardwareAddress();
                        final int length = 6;