org.abraracourcix.alipes.pipes
Class MultiplexorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.abraracourcix.alipes.listeners.ListenerException
              extended byorg.abraracourcix.alipes.pipes.MultiplexorException
All Implemented Interfaces:
java.io.Serializable

public class MultiplexorException
extends ListenerException

Can occur if one or more of the multiplexor's listeners throw an exception. Since any or all of the multiplexor's listeners can throw exceptions during multiplexing this exception bundles them all up into one.

Author:
jdt
See Also:
Serialized Form

Constructor Summary
MultiplexorException(java.lang.String description, java.lang.Throwable cause)
          Constructor
MultiplexorException(java.lang.Throwable cause)
          Constructor
 
Method Summary
 void addCause(java.lang.Throwable cause)
          Add a new exception
 java.lang.String getMessage()
          Override to append all enclosed exceptions
 
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

MultiplexorException

public MultiplexorException(java.lang.Throwable cause)
Constructor

Parameters:
cause - root cause

MultiplexorException

public MultiplexorException(java.lang.String description,
                            java.lang.Throwable cause)
Constructor

Parameters:
description - Description of error
cause - root cause
Method Detail

addCause

public final void addCause(java.lang.Throwable cause)
Add a new exception

Parameters:
cause - yet another cause

getMessage

public final java.lang.String getMessage()
Override to append all enclosed exceptions

Returns:
see below
See Also:
Throwable.getMessage()


Copyright © 2004-2005 Abraracourcix. All Rights Reserved.