1 17 package javax.servlet.jsp; 18 19 29 30 public final class ErrorData { 31 32 private Throwable throwable; 33 private int statusCode; 34 private String uri; 35 private String servletName; 36 37 45 public ErrorData( Throwable throwable, int statusCode, String uri, 46 String servletName ) 47 { 48 this.throwable = throwable; 49 this.statusCode = statusCode; 50 this.uri = uri; 51 this.servletName = servletName; 52 } 53 54 59 public Throwable getThrowable() { 60 return this.throwable; 61 } 62 63 68 public int getStatusCode() { 69 return this.statusCode; 70 } 71 72 77 public String getRequestURI() { 78 return this.uri; 79 } 80 81 86 public String getServletName() { 87 return this.servletName; 88 } 89 } 90 | Popular Tags |