org.semanticweb.owlapi.owllink.builtin.response
Interface ResponseMessage
- All Superinterfaces:
- java.lang.Iterable<Response>
public interface ResponseMessage
- extends java.lang.Iterable<Response>
Created by IntelliJ IDEA.
Author: Olaf Noppens
Date: 26.10.2009
| Methods inherited from interface java.lang.Iterable |
iterator |
get
Response get(int index)
throws OWLlinkErrorResponseException
- Returns the response at the given index. If the response is
an OWLlink ErrorResponse an OWLlinkErrorResponseException will be thrown.
- Parameters:
index -
- Returns:
- Response
- Throws:
OWLlinkErrorResponseException
getError
OWLlinkErrorResponseException getError(int index)
isErrorResponse
boolean isErrorResponse(int index)
hasError
boolean hasError()
getResponse
<R extends Response> R getResponse(Request<R> request)
throws OWLlinkErrorResponseException
- Throws:
OWLlinkErrorResponseException
hasErrorResponse
boolean hasErrorResponse(Request request)
getError
OWLlinkErrorResponseException getError(Request request)