|
|||||||||||
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.CStockage.exception.ChannelException
Id: ChannelException.java,v 1.0 13 mai 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: ChannelException
Original Author: Yohan Colmant
An abstract exception
Field Summary | |
private int |
errorCode
The error code associated to this exception |
private int |
httpErrorCode
The HTTP error code |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
ChannelException()
Constructor |
|
ChannelException(int errorCode)
Constructor |
|
ChannelException(int errorCode,
int httpErrorCode)
Constructor |
Method Summary | |
int |
getErrorCode()
Return the error code associated to this exception |
int |
getHttpErrorCode()
Return the http error code return by the webdav |
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 int httpErrorCode
Constructor Detail |
public ChannelException()
public ChannelException(int errorCode)
errorCode
- the errorCode associate to this exceptionpublic ChannelException(int errorCode, int httpErrorCode)
errorCode
- the errorCode associate to this exceptionhttpErrorCode
- the errorCode associate to this exceptionMethod Detail |
public int getErrorCode()
public int getHttpErrorCode()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |