com.webmethods.caf.common
Class CommonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.webmethods.caf.common.CommonException
All Implemented Interfaces:
Serializable

public class CommonException
extends Exception

See Also:
Serialized Form

Constructor Summary
CommonException(Class resourceBundleClass, String messageKey)
           
CommonException(Class resourceBundleClass, String messageKey, Object[] messageArgs)
          Base constructor for CommonException
CommonException(String messageKey)
           
CommonException(String messageKey, Object[] messageArgs)
           
CommonException(Throwable target)
           
CommonException(Throwable target, Class resourceBundleClass, String messageKey, Object[] messageArgs)
           
CommonException(Throwable target, String messageKey)
           
CommonException(Throwable target, String messageKey, Object[] messageArgs)
           
 
Method Summary
static ResourceBundle getDefaultResourceBundle()
           
 String getMessage()
           
 
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
 

Constructor Detail

CommonException

public CommonException(String messageKey,
                       Object[] messageArgs)

CommonException

public CommonException(String messageKey)

CommonException

public CommonException(Throwable target,
                       String messageKey,
                       Object[] messageArgs)

CommonException

public CommonException(Throwable target,
                       String messageKey)

CommonException

public CommonException(Throwable target)

CommonException

public CommonException(Class resourceBundleClass,
                       String messageKey,
                       Object[] messageArgs)
Base constructor for CommonException

Parameters:
resourceBundleClass - class of default bundle
messageKey - the message key
messageArgs - array of arguments

CommonException

public CommonException(Class resourceBundleClass,
                       String messageKey)

CommonException

public CommonException(Throwable target,
                       Class resourceBundleClass,
                       String messageKey,
                       Object[] messageArgs)
Method Detail

getDefaultResourceBundle

public static ResourceBundle getDefaultResourceBundle()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable