org.apache.cocoon.components.notification
Class NotifyingCascadingRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.avalon.framework.CascadingRuntimeException
                  extended byorg.apache.cocoon.components.notification.NotifyingCascadingRuntimeException
All Implemented Interfaces:
CascadingThrowable, Notifying, Serializable

public class NotifyingCascadingRuntimeException
extends CascadingRuntimeException
implements Notifying

A CascadingRuntimeException that is also Notifying.

Version:
CVS $Id: NotifyingCascadingRuntimeException.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Nicola Ken Barozzi
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.notification.Notifying
DEBUG_NOTIFICATION, ERROR_NOTIFICATION, EXTRA_CAUSE, EXTRA_COLUMN, EXTRA_FULLTRACE, EXTRA_LINE, EXTRA_LOCATION, EXTRA_REQUESTURI, EXTRA_STACKTRACE, FATAL_NOTIFICATION, INFO_NOTIFICATION, UNKNOWN_NOTIFICATION, WARN_NOTIFICATION
 
Constructor Summary
NotifyingCascadingRuntimeException(Exception ex)
          Creates a new ProcessingException instance.
NotifyingCascadingRuntimeException(String message)
          Construct a new NotifyingCascadingRuntimeException instance.
NotifyingCascadingRuntimeException(String message, Throwable t)
          Construct a new ProcessingException that references a parent Exception.
 
Method Summary
 String getDescription()
          Gets the Description attribute of the Notifying object
 Map getExtraDescriptions()
          Gets the ExtraDescriptions attribute of the Notifying object
 String getMessage()
          Gets the Message attribute of the Notifying object
 String getSender()
          Gets the Sender attribute of the Notifying object
 String getSource()
          Gets the Source attribute of the Notifying object
 String getTitle()
          Gets the Title attribute of the Notifying object
 String getType()
          Gets the Type attribute of the Notifying object
 
Methods inherited from class org.apache.avalon.framework.CascadingRuntimeException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

NotifyingCascadingRuntimeException

public NotifyingCascadingRuntimeException(String message)
Construct a new NotifyingCascadingRuntimeException instance.


NotifyingCascadingRuntimeException

public NotifyingCascadingRuntimeException(Exception ex)
Creates a new ProcessingException instance.

Parameters:
ex - an Exception value

NotifyingCascadingRuntimeException

public NotifyingCascadingRuntimeException(String message,
                                          Throwable t)
Construct a new ProcessingException that references a parent Exception.

Method Detail

getType

public String getType()
Gets the Type attribute of the Notifying object

Specified by:
getType in interface Notifying

getTitle

public String getTitle()
Gets the Title attribute of the Notifying object

Specified by:
getTitle in interface Notifying

getSource

public String getSource()
Gets the Source attribute of the Notifying object

Specified by:
getSource in interface Notifying

getSender

public String getSender()
Gets the Sender attribute of the Notifying object

Specified by:
getSender in interface Notifying

getMessage

public String getMessage()
Gets the Message attribute of the Notifying object

Specified by:
getMessage in interface Notifying

getDescription

public String getDescription()
Gets the Description attribute of the Notifying object

Specified by:
getDescription in interface Notifying

getExtraDescriptions

public Map getExtraDescriptions()
Gets the ExtraDescriptions attribute of the Notifying object

Specified by:
getExtraDescriptions in interface Notifying


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.