public class ProvisionException extends CoreException
Modifier and Type | Field and Description |
---|---|
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_MD5_NOT_MATCH
Status code constant (value 1203) indicating an artifact's md5
does not match the expected value.
|
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 and Description |
---|
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 . |
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
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
public static final int ARTIFACT_MD5_NOT_MATCH
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
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.