public class ExceptionView
extends java.lang.Object
implements org.springframework.web.servlet.View
| Constructor and Description |
|---|
ExceptionView(java.lang.String contentType,
java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType() |
void |
render(java.util.Map<java.lang.String,?> arg0,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
public ExceptionView(java.lang.String contentType,
java.lang.String content)
public java.lang.String getContentType()
getContentType in interface org.springframework.web.servlet.Viewpublic void render(java.util.Map<java.lang.String,?> arg0,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
render in interface org.springframework.web.servlet.Viewjava.lang.ExceptionCopyright © 2023. All Rights Reserved.