public class FailedErrorPageDTO extends ErrorPageDTO
javax.servlet.Servlet
service registered as an error
page but currently not being used by a servlet context due to a problem.
As the servlet represented by this DTO is not used due to a failure, the
field BaseServletDTO.servletContextId
always returns 0
and does not point to an existing ServletContextHelper
.
Modifier and Type | Field and Description |
---|---|
int |
failureReason
The reason why the servlet represented by this DTO is not used.
|
errorCodes, exceptions
asyncSupported, initParams, name, serviceId, servletContextId, servletInfo
Constructor and Description |
---|
FailedErrorPageDTO() |
public int failureReason
DTOConstants.FAILURE_REASON_UNKNOWN
,
DTOConstants.FAILURE_REASON_EXCEPTION_ON_INIT
,
DTOConstants.FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHING
,
DTOConstants.FAILURE_REASON_SERVICE_NOT_GETTABLE
,
DTOConstants.FAILURE_REASON_SERVLET_CONTEXT_FAILURE
,
DTOConstants.FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0