| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.catalina.tribes.ChannelException
ChannelException | public class ChannelException extends Exception (Code) | | Channel Exception
A channel exception is thrown when an internal error happens
somewhere in the channel.
When a global error happens, the cause can be retrieved using getCause()
If an application is sending a message and some of the recipients fail to receive it,
the application can retrieve what recipients failed by using the getFaultyMembers()
method. This way, an application will always know if a message was delivered successfully or not.
author: Filip Hanik version: $Revision: 532400 $, $Date: 2007-04-25 18:16:37 +0200 (mer., 25 avr. 2007) $ |
Inner Class :public static class FaultyMember | |
Field Summary | |
final protected static FaultyMember[] | EMPTY_LIST |
EMPTY_LIST | final protected static FaultyMember[] EMPTY_LIST(Code) | | Empty list to avoid reinstatiating lists
|
addFaultyMember | public boolean addFaultyMember(Member mbr, Exception x)(Code) | | Adds a faulty member, and the reason the member failed.
Parameters: mbr - Member Parameters: x - Exception |
addFaultyMember | public int addFaultyMember(FaultyMember[] mbrs)(Code) | | Adds a list of faulty members
Parameters: mbrs - FaultyMember[] |
addFaultyMember | public boolean addFaultyMember(FaultyMember mbr)(Code) | | Adds a faulty member
Parameters: mbr - FaultyMember |
getFaultyMembers | public FaultyMember[] getFaultyMembers()(Code) | | Returns an array of members that failed and the reason they failed.
FaultyMember[] |
|
|