org.apache.cocoon.components.notification
Class NotifyingCascadingRuntimeException

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

public class NotifyingCascadingRuntimeException
extends CascadingRuntimeException
implements Notifying

A CascadingRuntimeException that is also Notifying.

Version:
CVS $Id: NotifyingCascadingRuntimeException.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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
Overrides:
getMessage in class Throwable

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-2010 The Apache Software Foundation. All Rights Reserved.