CSympaMultiServeur 2.0
API Documentation

org.esupportail.portal.channels.CSympaMultiServeur.Exception
Class ChannelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.esupportail.portal.channels.CSympaMultiServeur.Exception.ChannelException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbonnementException, ConnexionException, PortException, PropertiesException, PropertiesMailException

public class ChannelException
extends java.lang.Exception

Id: ChannelException.java,v 1.0 16 janvier 2006
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: ChannelException
Original Author: Dusart Dorianet
An abstract exception

See Also:
Serialized Form

Constructor Summary
ChannelException()
          Constructor
ChannelException(int errorCode)
          Constructor
ChannelException(java.lang.String message, int errorCode)
          Constructor
 
Method Summary
 int getErrorCode()
          Return the error code associated to this exception
 java.lang.String toString()
          Return a string form of this exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelException

public ChannelException()
Constructor


ChannelException

public ChannelException(int errorCode)
Constructor

Parameters:
errorCode - the errorCode associate to this exception

ChannelException

public ChannelException(java.lang.String message,
                        int errorCode)
Constructor

Parameters:
errorCode - the errorCode associate to this exception
Method Detail

getErrorCode

public int getErrorCode()
Return the error code associated to this exception

Returns:
the error code

toString

public java.lang.String toString()
Return a string form of this exception

Overrides:
toString in class java.lang.Throwable

CSympaMultiServeur 2.0
API Documentation