|
|||||||||
| 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.PreconditionException
com.genesyslab.ail.exception.InvalidStatusException
public class InvalidStatusException
Exception thrown when the status of an object was incorrect for the request.
| Constructor Summary | |
|---|---|
InvalidStatusException(IdObject object,
Enum status,
Enum ex_status,
java.lang.String comment)
Constructor for this exception. |
|
| Method Summary | |
|---|---|
Enum |
getExpectedStatus()
Returns a status that would have been valid for this request. |
IdObject |
getObject()
Returns the object, the status of which was invalid. |
Enum |
getStatus()
Returns the status that was incorrect for this request. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidStatusException(IdObject object,
Enum status,
Enum ex_status,
java.lang.String comment)
object - the object, the status of which was invalidstatus - the status that was invalid for this requestex_status - an example status that would have been valid
for this requestcomment - comments for this exception| Method Detail |
|---|
public IdObject getObject()
public Enum getStatus()
public Enum getExpectedStatus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||