org.apache.cocoon.components.notification
Class NotifyingCascadingRuntimeException

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

public class NotifyingCascadingRuntimeException
extends org.apache.avalon.framework.CascadingRuntimeException
implements Notifying

A CascadingRuntimeException that is also Notifying.

Version:
CVS $Id: NotifyingCascadingRuntimeException.java,v 1.5.2.1 2002/07/15 14:52:59 cziegeler Exp $
Author:
Nicola Ken Barozzi
See Also:
Serialized Form

Fields inherited from interface org.apache.cocoon.components.notification.Notifying
DEBUG_NOTIFICATION, ERROR_NOTIFICATION, FATAL_NOTIFICATION, INFO_NOTIFICATION, UNKNOWN_NOTIFICATION, WARN_NOTIFICATION
 
Constructor Summary
NotifyingCascadingRuntimeException(java.lang.Exception ex)
          Creates a new ProcessingException instance.
NotifyingCascadingRuntimeException(java.lang.String message)
          Construct a new NotifyingCascadingRuntimeException instance.
NotifyingCascadingRuntimeException(java.lang.String message, java.lang.Throwable t)
          Construct a new ProcessingException that references a parent Exception.
 
Method Summary
 java.lang.String getDescription()
          Gets the Description attribute of the Notifying object
 java.util.Map getExtraDescriptions()
          Gets the ExtraDescriptions attribute of the Notifying object
 java.lang.String getMessage()
          Gets the Message attribute of the Notifying object
 java.lang.String getSender()
          Gets the Sender attribute of the Notifying object
 java.lang.String getSource()
          Gets the Source attribute of the Notifying object
 java.lang.String getTitle()
          Gets the Title attribute of the Notifying object
 java.lang.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, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotifyingCascadingRuntimeException

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

NotifyingCascadingRuntimeException

public NotifyingCascadingRuntimeException(java.lang.Exception ex)
Creates a new ProcessingException instance.
Parameters:
ex - an Exception value

NotifyingCascadingRuntimeException

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

getType

public java.lang.String getType()
Gets the Type attribute of the Notifying object
Specified by:
getType in interface Notifying

getTitle

public java.lang.String getTitle()
Gets the Title attribute of the Notifying object
Specified by:
getTitle in interface Notifying

getSource

public java.lang.String getSource()
Gets the Source attribute of the Notifying object
Specified by:
getSource in interface Notifying

getSender

public java.lang.String getSender()
Gets the Sender attribute of the Notifying object
Specified by:
getSender in interface Notifying

getMessage

public java.lang.String getMessage()
Gets the Message attribute of the Notifying object
Specified by:
getMessage in interface Notifying
Overrides:
getMessage in class java.lang.Throwable

getDescription

public java.lang.String getDescription()
Gets the Description attribute of the Notifying object
Specified by:
getDescription in interface Notifying

getExtraDescriptions

public java.util.Map getExtraDescriptions()
Gets the ExtraDescriptions attribute of the Notifying object
Specified by:
getExtraDescriptions in interface Notifying


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.