Examples of PackageDetailsValidationException


Examples of org.rhq.enterprise.server.plugin.pc.content.PackageDetailsValidationException

        String[] parts = getVersionParts(version);
       
        if (!OSGiVersion.isValid(parts[1])) {
            //ok the user supplied something that isn't an OSGi version.
            //We can't accept that.
            throw new PackageDetailsValidationException("The version part of '" + version + "' isn't an OSGi version string.");
        }
       
        return userName + ":" + parts[1];
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.