Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.osgi.internal.baseadaptor;
This class is used to hold invalid version strings. This is used to support OSGi R3 bundles which could have an invalid Bundle-Version header. An InvalidVersion always has a value of 0.0.0.
public class InvalidVersion extends Version {
Constructs a BadVersion using the specified invalid version string.

Parameters:
badVersion an invalid version string.
	public InvalidVersion(String badVersion) {
		super(0, 0, 0, null);
		this. = badVersion;
	}

Returns the invalid version string.

Returns:
the invalid version string.
	}
	public String toString() {
	}
New to GrepCode? Check out our FAQ X