Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2011-01-28 16:43:20 +0000
committerDJ Houghton2011-01-28 16:43:20 +0000
commitae116eabee98122e65bcf0ca5ad01a519c6cfc75 (patch)
treec3fd43bc2b179bd19607c88c0ce3547dcc464a94 /bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox
parenteff1605e5781ebcd8688b21831bf5f003ea3f410 (diff)
downloadrt.equinox.p2-ae116eabee98122e65bcf0ca5ad01a519c6cfc75.tar.gz
rt.equinox.p2-ae116eabee98122e65bcf0ca5ad01a519c6cfc75.tar.xz
rt.equinox.p2-ae116eabee98122e65bcf0ca5ad01a519c6cfc75.zip
Bug 326476 - set the specific status code when artifact's md5 doesn't match the expected value
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox')
-rw-r--r--bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/ProvisionException.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/ProvisionException.java b/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/ProvisionException.java
index af5b6786a..e88fe6307 100644
--- a/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/ProvisionException.java
+++ b/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/ProvisionException.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 IBM Corporation and others.
+ * Copyright (c) 2007, 2011 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
@@ -101,6 +101,13 @@ public class ProvisionException extends CoreException {
public static final int ARTIFACT_INCOMPLETE_SIZING = 1202;
/**
+ * Status code constant (value 1203) indicating an artifact's md5
+ * does not match the expected value.
+ * @since 2.1
+ */
+ public static final int ARTIFACT_MD5_NOT_MATCH = 1203;
+
+ /**
* Creates a new exception with the given status object. The message
* of the given status is used as the exception message.
*
@@ -131,4 +138,4 @@ public class ProvisionException extends CoreException {
super(new Status(IStatus.ERROR, Activator.ID, message, cause));
}
-}
+} \ No newline at end of file

Back to the top