|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.esupportail.portal.channels.CSMS.exception.ExceptionCanal
Id: ExceptionCanal.java,v 1.0 3 janv. 2005 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: ExceptionCanal Original Author: Yohan Colmant
Field Summary | |
private int |
errorCode
The error code associated to this exception |
private java.lang.String |
nextState
The next state of this channel. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
ExceptionCanal(int errorCode)
Constructor |
|
ExceptionCanal(int errorCode,
java.lang.String nextState)
Constructor |
Method Summary | |
int |
getErrorCode()
Return the error code associated to this exception |
java.lang.String |
getNextState()
Return the next state of this channel. |
void |
setNextState(java.lang.String nextState)
Set the next state of this channel. |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int errorCode
private java.lang.String nextState
Constructor Detail |
public ExceptionCanal(int errorCode)
errorCode
- the errorCode associate to this exceptionpublic ExceptionCanal(int errorCode, java.lang.String nextState)
errorCode
- the errorCode associate to this exceptionnextState
- next state of this channel. Used to go to this state when errorMethod Detail |
public int getErrorCode()
public java.lang.String getNextState()
public void setNextState(java.lang.String nextState)
nextState
- the next state of this channel. Used to go to this state when errorpublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |