org.genepattern.webservice
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
UnavailableException(java.lang.String message)
Constructs a new web service exeption with the specified message indicating that the web service is permanently unavailable. |
|
UnavailableException(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new web service exeption with the specified message indicating that the web service is permanently unavailable along with the root cause exception. |
|
UnavailableException(WebService webService,
java.lang.String message)
Constructs a new unavialable exeption with the specified message. |
|
UnavailableException(WebService webService,
java.lang.String message,
int time)
Constructs a new unavialable exeption for a web service with the specified message and the time in seconds it's unavialable. |
|
UnavailableException(WebService webService,
java.lang.String message,
int time,
java.lang.Throwable rootCause)
Constructs a new unavialable exeption for a web service with the specified message and the time in seconds it's unavialable. |
|
UnavailableException(WebService webService,
java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new unavialable exeption with the specified message. |
|
| Method Summary | |
int |
getUnavailableTime()
Returns the time in seconds that the web service is temporarily unavailable. |
WebService |
getWebService()
Returns the web service that is unavailable. |
boolean |
isPermanent()
Returns a boolean indicating whether this web service is
permanently unavailable. |
| Methods inherited from class org.genepattern.webservice.WebServiceException |
getRootCause, printStackTrace, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UnavailableException(java.lang.String message)
message - a String specifying the text of the exception
message
public UnavailableException(java.lang.String message,
java.lang.Throwable rootCause)
message - a String specifying the text of the exception
messagerootCause - the Throwable exception that caused the
problem, making this service exeption necessary.public UnavailableException(WebService webService, java.lang.String message)
webService - a WebService that is unavailablemessage - a String specifying the text of the exception
messagepublic UnavailableException(WebService webService, java.lang.String message, java.lang.Throwable rootCause)
webService - a WebService that is unavailablemessage - a String specifying the text of the exception
messagerootCause - the Throwable exception that caused the
problem, making this service exeption necessary.public UnavailableException(WebService webService, java.lang.String message, int time)
webService - a WebService that is unavailablemessage - a String specifying the text of the exception
messagetime - a int specifying the time in seconds the web
service is unavailablepublic UnavailableException(WebService webService, java.lang.String message, int time, java.lang.Throwable rootCause)
webService - a WebService that is unavailablemessage - a String specifying the text of the exception
messagetime - a int specifying the time in seconds the web
service is unavailablerootCause - the Throwable exception that caused the
problem, making this service exeption necessary.| Method Detail |
public boolean isPermanent()
boolean indicating whether this web service is
permanently unavailable. If it is then something is wrong with the web
service and requires system administration.
true if the web service is permanently
unavailable; false if the web service is available
or temporarily unavailablepublic WebService getWebService()
WebService object that is throwing the
UnavailableExceptionpublic int getUnavailableTime()
If this method returs a -1 this means that the web service is permanently unavailable. Otherwise, the time is returned that the web service will be unavailable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||