nl.toolforge.karma.core
Class KarmaRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynl.toolforge.karma.core.KarmaRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class KarmaRuntimeException
extends java.lang.RuntimeException

Root runtime exception for nl.toolforge.karma classes. Runtime exceptions support localized messages as well as KarmaExceptions.

Version:
$Id: KarmaRuntimeException.java,v 1.11 2004/09/03 12:38:15 asmedes Exp $
Author:
D.A. Smedes
See Also:
Serialized Form

Field Summary
protected  ErrorCode errorCode
           
protected  java.lang.Object[] messageArguments
           
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
KarmaRuntimeException(ErrorCode errorCode)
           
KarmaRuntimeException(ErrorCode errorCode, java.lang.Object[] messageArguments)
           
KarmaRuntimeException(ErrorCode errorCode, java.lang.Object[] messageArguments, java.lang.Throwable t)
           
KarmaRuntimeException(ErrorCode errorCode, java.lang.Throwable t)
           
KarmaRuntimeException(java.lang.String message)
           
KarmaRuntimeException(java.lang.String message, java.lang.Throwable t)
           
KarmaRuntimeException(java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

errorCode

protected ErrorCode errorCode

messageArguments

protected java.lang.Object[] messageArguments
Constructor Detail

KarmaRuntimeException

public KarmaRuntimeException(java.lang.Throwable t)

KarmaRuntimeException

public KarmaRuntimeException(java.lang.String message)

KarmaRuntimeException

public KarmaRuntimeException(java.lang.String message,
                             java.lang.Throwable t)
Parameters:
message - A message for this exception. message is not localized, but stored as-is.
t - Some other exception, preferrably the exception causing this one.

KarmaRuntimeException

public KarmaRuntimeException(ErrorCode errorCode)

KarmaRuntimeException

public KarmaRuntimeException(ErrorCode errorCode,
                             java.lang.Throwable t)

KarmaRuntimeException

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

KarmaRuntimeException

public KarmaRuntimeException(ErrorCode errorCode,
                             java.lang.Object[] messageArguments,
                             java.lang.Throwable t)


Copyright © 2002-2004 Toolforge. All Rights Reserved.