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, org.apache.cocoon.components.notification.Notifying, Serializable

public class NotifyingCascadingRuntimeException
extends CascadingRuntimeException
implements org.apache.cocoon.components.notification.Notifying

A CascadingRuntimeException that is also Notifying.

Version:
$Id: NotifyingCascadingRuntimeException.html 1304280 2012-03-23 11:18:01Z ilgrosso $
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 org.apache.cocoon.components.notification.Notifying

getTitle

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

Specified by:
getTitle in interface org.apache.cocoon.components.notification.Notifying

getSource

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

Specified by:
getSource in interface org.apache.cocoon.components.notification.Notifying

getSender

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

Specified by:
getSender in interface org.apache.cocoon.components.notification.Notifying

getMessage

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

Specified by:
getMessage in interface org.apache.cocoon.components.notification.Notifying

getDescription

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

Specified by:
getDescription in interface org.apache.cocoon.components.notification.Notifying

getExtraDescriptions

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

Specified by:
getExtraDescriptions in interface org.apache.cocoon.components.notification.Notifying


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.