|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
nl.toolforge.karma.core.manifest.ManifestException
Exception thrown by the AbstractManifest Domain.
Field Summary | |
static ErrorCode |
DEPENDENCY_FILE_LOAD_ERROR
When the dependencies.xml file could not be loaded correctly. |
static ErrorCode |
DEPENDENCY_FILE_NOT_FOUND
When a modules' project.xml cannot be found. |
static ErrorCode |
DUPLICATE_MANIFEST_FILE
|
static ErrorCode |
DUPLICATE_MODULE
When a duplicate module-name is encountered in a manifest. |
static java.lang.String |
EXCEPTION_PREFIX
|
static ErrorCode |
INVALID_LOCAL_PATH
When the local path to the manifest on disk is invalid. |
static ErrorCode |
MANIFEST_FILE_NOT_FOUND
When the manifest file cannot be found on the users' local harddisk. |
static ErrorCode |
MANIFEST_LOAD_ERROR
When the manifest could not be loaded from disk. |
static ErrorCode |
MANIFEST_NAME_RECURSION
When a manifest is included with the same name as an already loaded manifest. |
static ErrorCode |
MODULE_NOT_FOUND
When a module does not exist in the manifest. |
static ErrorCode |
MODULE_NOT_LOCAL
When a module has not yet been checked out for this manifest |
static ErrorCode |
MODULE_WITHOUT_VERSION
When the manifest is a ReleaseManifest all modules should have a version attribute. |
static ErrorCode |
NO_ACTIVE_MANIFEST
If there is no active manifest (none loaded). |
static ErrorCode |
STATE_UPDATE_FAILURE
When the state update for a module failed. |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
ManifestException(ErrorCode errorCode)
|
|
ManifestException(ErrorCode errorCode,
java.lang.Object[] messageArguments)
|
|
ManifestException(java.lang.Throwable t,
ErrorCode errorCode,
java.lang.Object[] messageArguments)
|
Method Summary | |
ErrorCode |
getErrorCode()
Gets the exceptions' ErrorCode . |
java.lang.String |
getMessage()
|
java.lang.Object[] |
getMessageArguments()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String EXCEPTION_PREFIX
public static final ErrorCode MANIFEST_NAME_RECURSION
public static final ErrorCode DUPLICATE_MODULE
public static final ErrorCode MANIFEST_FILE_NOT_FOUND
public static final ErrorCode MODULE_NOT_FOUND
public static final ErrorCode MANIFEST_LOAD_ERROR
public static final ErrorCode NO_ACTIVE_MANIFEST
public static final ErrorCode INVALID_LOCAL_PATH
public static final ErrorCode STATE_UPDATE_FAILURE
public static final ErrorCode DEPENDENCY_FILE_NOT_FOUND
project.xml
cannot be found.
public static final ErrorCode MODULE_NOT_LOCAL
public static final ErrorCode DEPENDENCY_FILE_LOAD_ERROR
dependencies.xml
file could not be loaded correctly.
public static final ErrorCode MODULE_WITHOUT_VERSION
ReleaseManifest
all modules should have a version
attribute.
public static final ErrorCode DUPLICATE_MANIFEST_FILE
Constructor Detail |
public ManifestException(ErrorCode errorCode)
public ManifestException(ErrorCode errorCode, java.lang.Object[] messageArguments)
public ManifestException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
Method Detail |
public java.lang.String getMessage()
public final ErrorCode getErrorCode()
ErrorCode
.
public final java.lang.Object[] getMessageArguments()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |