|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.core.runtime.CoreException
org.eclipse.equinox.p2.core.ProvisionException
public class ProvisionException
A checked exception indicating a recoverable error occurred while provisioning. The status provides a further description of the problem.
Field Summary | |
---|---|
static int |
ARTIFACT_EXISTS
Status code constant (value 1201) indicating an artifact unexpectedly already exists. |
static int |
ARTIFACT_INCOMPLETE_SIZING
Status code constant (value 1202) indicating an artifact's size could not be found. |
static int |
ARTIFACT_NOT_FOUND
Status code constant (value 1200) indicating an artifact unexpectedly does not exist. |
static int |
INTERNAL_ERROR
Status code constant (value 1) for an uncategorized error. |
static int |
REPOSITORY_EXISTS
Status code constant (value 1001) indicating a repository unexpectedly exists. |
static int |
REPOSITORY_FAILED_AUTHENTICATION
Status code constant (value 1007) indicating that there was an authentication error while reading a repository |
static int |
REPOSITORY_FAILED_READ
Status code constant (value 1002) indicating a repository could not be read |
static int |
REPOSITORY_FAILED_WRITE
Status code constant (value 1003) indicating a failure occurred while writing to a repository. |
static int |
REPOSITORY_INVALID_LOCATION
Status code constant (value 1006) indicating that a specified repository location is not valid. |
static int |
REPOSITORY_NOT_FOUND
Status code constant (value 1000) indicating a repository unexpectedly does not exist. |
static int |
REPOSITORY_READ_ONLY
Status code constant (value 1004) indicating a repository could not be written because it is a read-only repository. |
static int |
REPOSITORY_UNKNOWN_TYPE
Status code constant (value 1005) indicating an attempt was made to create or access a repository of unknown type. |
Constructor Summary | |
---|---|
ProvisionException(IStatus status)
Creates a new exception with the given status object. |
|
ProvisionException(String message)
Creates a new exception with the given message and a severity of IStatus.ERROR . |
|
ProvisionException(String message,
Throwable cause)
Creates a new exception with the given message and cause, and a severity of IStatus.ERROR . |
Method Summary |
---|
Methods inherited from class org.eclipse.core.runtime.CoreException |
---|
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INTERNAL_ERROR
public static final int REPOSITORY_NOT_FOUND
public static final int REPOSITORY_EXISTS
public static final int REPOSITORY_FAILED_READ
public static final int REPOSITORY_FAILED_WRITE
public static final int REPOSITORY_READ_ONLY
public static final int REPOSITORY_UNKNOWN_TYPE
public static final int REPOSITORY_INVALID_LOCATION
public static final int REPOSITORY_FAILED_AUTHENTICATION
public static final int ARTIFACT_NOT_FOUND
public static final int ARTIFACT_EXISTS
public static final int ARTIFACT_INCOMPLETE_SIZING
Constructor Detail |
---|
public ProvisionException(IStatus status)
status
- the status object to be associated with this exceptionpublic ProvisionException(String message)
IStatus.ERROR
.
message
- The human-readable problem messagepublic ProvisionException(String message, Throwable cause)
IStatus.ERROR
.
message
- The human-readable problem messagecause
- The underlying cause of the exception
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.