root = new InternetID(rootStr); } else { throw new IllegalArgumentException("wrong format");
root = new InternetID(rootStr); } else { throw new IllegalArgumentException("wrong format");
objectID = new ISO_OID(value.substring(0, doubleColons)); } else if (splits[0].matches("(\\w|-)+(\\.(\\w|-)+)*")){ //for InternetID, objectID = new InternetID(value.substring(0, doubleColons)); } else { throw new IllegalArgumentException("wrong format: " + splits[0]);
objectID = new ISO_OID(value.substring(0, doubleColons)); } else if (splits[0].matches("(\\w|-)+(\\.(\\w|-)+)*")){ //for InternetID, objectID = new InternetID(value.substring(0, doubleColons)); } else { throw new IllegalArgumentException("wrong format: " + splits[0]);