nl.toolforge.karma.core.cmd.util
Class DependencyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynl.toolforge.karma.core.cmd.util.DependencyException
All Implemented Interfaces:
java.io.Serializable

public class DependencyException
extends java.lang.Exception

Thrown when

Version:
$Id: DependencyException.java,v 1.10 2004/11/02 23:57:06 asmedes Exp $
Author:
D.A. Smedes
See Also:
Serialized Form

Field Summary
static ErrorCode DEPENDENCY_NOT_FOUND
          A dependency is configured, but cannot be found on a developers machine.
static ErrorCode DUPLICATE_ARTIFACT_VERSION
           
static ErrorCode EAR_DEPENDENCY_NOT_DEFINED
           
static ErrorCode EAR_DEPENDENCY_NOT_FOUND
           
static java.lang.String EXCEPTION_PREFIX
           
static ErrorCode MODULE_NOT_IN_MANIFEST
          A dependency on a module has been defined, but the module is not in the manifest
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
DependencyException(ErrorCode errorCode)
           
DependencyException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
DependencyException(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

EXCEPTION_PREFIX

public static final java.lang.String EXCEPTION_PREFIX
See Also:
Constant Field Values

DEPENDENCY_NOT_FOUND

public static final ErrorCode DEPENDENCY_NOT_FOUND
A dependency is configured, but cannot be found on a developers machine.


MODULE_NOT_IN_MANIFEST

public static final ErrorCode MODULE_NOT_IN_MANIFEST
A dependency on a module has been defined, but the module is not in the manifest


DUPLICATE_ARTIFACT_VERSION

public static final ErrorCode DUPLICATE_ARTIFACT_VERSION

EAR_DEPENDENCY_NOT_DEFINED

public static final ErrorCode EAR_DEPENDENCY_NOT_DEFINED

EAR_DEPENDENCY_NOT_FOUND

public static final ErrorCode EAR_DEPENDENCY_NOT_FOUND
Constructor Detail

DependencyException

public DependencyException(ErrorCode errorCode)

DependencyException

public DependencyException(ErrorCode errorCode,
                           java.lang.Object[] messageArguments)

DependencyException

public DependencyException(java.lang.Throwable t,
                           ErrorCode errorCode,
                           java.lang.Object[] messageArguments)
Method Detail

getMessage

public java.lang.String getMessage()

getErrorCode

public final ErrorCode getErrorCode()
Gets the exceptions' ErrorCode.

Returns:

getMessageArguments

public final java.lang.Object[] getMessageArguments()


Copyright © 2002-2004 Toolforge. All Rights Reserved.