|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectctf.evaluation.simulator.responses.Response
ctf.evaluation.simulator.responses.ErrorResponse
class ErrorResponse
An error message
| Constructor Summary | |
|---|---|
ErrorResponse(Connection connection)
Constructor. |
|
ErrorResponse(Connection connection,
boolean errorIfNotClosed)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
connectionClosed()
Has the connection been closed? |
java.lang.String |
errorMessage()
The error message |
| Methods inherited from class ctf.evaluation.simulator.responses.Response |
|---|
response, tokens |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ErrorResponse(Connection connection)
throws java.io.IOException,
NetworkException,
ProtocolError
connection - the connection to get the error message from
java.io.IOException
NetworkException
ProtocolError
ErrorResponse(Connection connection,
boolean errorIfNotClosed)
throws java.io.IOException,
NetworkException,
ProtocolError
connection - the connection to get the error message fromerrorIfNotClosed - whether a failure to close the connection
should be considered an error
java.io.IOException
NetworkException
ProtocolError| Method Detail |
|---|
public java.lang.String errorMessage()
public boolean connectionClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||