|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.genesyslab.ail.exception.RequestFailedException
com.genesyslab.ail.exception.ServiceException
public class ServiceException
Exception thrown when a request fails because of the underlying service.
| Constructor Summary | |
|---|---|
ServiceException(java.lang.String name,
ServiceStatus.Status status)
Constructor for this exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the service. |
ServiceStatus.Status |
getStatus()
Returns the status of the service. |
java.lang.String |
toString()
Returns a String representation 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 |
|---|
public ServiceException(java.lang.String name,
ServiceStatus.Status status)
name - the name of the servicestatus - the status of the service| Method Detail |
|---|
public java.lang.String getName()
public ServiceStatus.Status getStatus()
public java.lang.String toString()
String representation of this
Exception.
toString in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||