Celtix User APIs

org.objectweb.celtix.common.i18n
Class Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.objectweb.celtix.common.i18n.Exception
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BusException, PluginException

public abstract class Exception
extends Exception

See Also:
Serialized Form

Constructor Summary
Exception(Message msg)
           
Exception(String msg)
           
Exception(String msg, Object... params)
           
Exception(String msg, Throwable cause)
           
Exception(String msg, Throwable cause, Object... params)
           
Exception(Throwable cause)
           
 
Method Summary
protected abstract  Message createMessage(String code, Object... params)
           
 String getCode()
           
 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

Exception

public Exception(Message msg)

Exception

public Exception(String msg,
                 Object... params)

Exception

public Exception(String msg)

Exception

public Exception(String msg,
                 Throwable cause)

Exception

public Exception(String msg,
                 Throwable cause,
                 Object... params)

Exception

public Exception(Throwable cause)
Method Detail

getCode

public String getCode()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

createMessage

protected abstract Message createMessage(String code,
                                         Object... params)

Celtix User APIs