@Controller public class ExceptionController extends AbstractServiceController
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
FRAGMENT_REQUEST_PARAM_KEY, SCHEME_REQUEST_PARAM_KEY| Constructor and Description |
|---|
ExceptionController() |
| Modifier and Type | Method and Description |
|---|---|
void |
get(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String errorId) |
void |
writeToResponse(InputStream in,
OutputStream out) |
debugRequest, extractPidFromRequestParam, extractPidFromRequestURI, extractSubjectFromRequestParam, extractValueFromRequestParam, handleBaseException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException, handleException@RequestMapping(value="/{errorId}")
public void get(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
String errorId)
throws org.dataone.service.exceptions.NotFound,
org.dataone.service.exceptions.ServiceFailure,
org.dataone.service.exceptions.NotImplemented,
org.dataone.service.exceptions.InvalidRequest,
org.dataone.service.exceptions.InvalidCredentials,
org.dataone.service.exceptions.NotAuthorized,
org.dataone.service.exceptions.AuthenticationTimeout,
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.NotFoundorg.dataone.service.exceptions.ServiceFailureorg.dataone.service.exceptions.NotImplementedorg.dataone.service.exceptions.InvalidRequestorg.dataone.service.exceptions.InvalidCredentialsorg.dataone.service.exceptions.NotAuthorizedorg.dataone.service.exceptions.AuthenticationTimeoutorg.dataone.service.exceptions.InsufficientResourcespublic void writeToResponse(InputStream in, OutputStream out) throws IOException
IOExceptionCopyright © 2022. All rights reserved.