Class ExceptionResponseValues
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.BaseResponseValues
-
- edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.TemplateResponseValues
-
- edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ExceptionResponseValues
-
- All Implemented Interfaces:
ResponseValues
public class ExceptionResponseValues extends TemplateResponseValues
-
-
Constructor Summary
Constructors Constructor Description ExceptionResponseValues(String templateName, Throwable cause)ExceptionResponseValues(String templateName, Throwable cause, int statusCode)ExceptionResponseValues(String templateName, Map<String,Object> map, Throwable cause)ExceptionResponseValues(String templateName, Map<String,Object> map, Throwable cause, int statusCode)ExceptionResponseValues(Throwable cause)ExceptionResponseValues(Throwable cause, int statusCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetException()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.TemplateResponseValues
getMap, getTemplateName, put
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.BaseResponseValues
getContentType, getForwardUrl, getHeader, getModel, getRedirectUrl, getStatusCode, setContentType, setStatusCode
-
-
-
-
Constructor Detail
-
ExceptionResponseValues
public ExceptionResponseValues(Throwable cause)
-
ExceptionResponseValues
public ExceptionResponseValues(Throwable cause, int statusCode)
-
ExceptionResponseValues
public ExceptionResponseValues(String templateName, Throwable cause, int statusCode)
-
ExceptionResponseValues
public ExceptionResponseValues(String templateName, Map<String,Object> map, Throwable cause)
-
-
Method Detail
-
getException
public Throwable getException()
- Specified by:
getExceptionin interfaceResponseValues- Overrides:
getExceptionin classBaseResponseValues
-
-