org.fcrepo.server.errors.servletExceptionExtensions
Class RootException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.ServletException
              extended by org.fcrepo.server.errors.servletExceptionExtensions.RootException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequest400Exception, Continue100Exception, Forbidden403Exception, InternalError500Exception, NotFound404Exception, Ok200Exception, Unauthorized401Exception, Unavailable503Exception

public abstract class RootException
extends javax.servlet.ServletException

Root of HTTP servlet exceptions.

Author:
Bill Niebel
See Also:
Serialized Form

Constructor Summary
RootException(javax.servlet.http.HttpServletRequest request, String action, String detail, String[] details)
           
RootException(String message, javax.servlet.http.HttpServletRequest request, String action, String detail, String[] details)
           
RootException(String message, Throwable cause, javax.servlet.http.HttpServletRequest request, String action, String detail, String[] details)
           
 
Method Summary
 String getAction()
           
 String getDetail()
           
 String[] getDetails()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
static javax.servlet.ServletException getServletException(AuthzException ae, javax.servlet.http.HttpServletRequest request, String action, String[] details)
           
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootException

public RootException(javax.servlet.http.HttpServletRequest request,
                     String action,
                     String detail,
                     String[] details)

RootException

public RootException(String message,
                     javax.servlet.http.HttpServletRequest request,
                     String action,
                     String detail,
                     String[] details)

RootException

public RootException(String message,
                     Throwable cause,
                     javax.servlet.http.HttpServletRequest request,
                     String action,
                     String detail,
                     String[] details)
Method Detail

getAction

public final String getAction()

getDetail

public final String getDetail()

getDetails

public final String[] getDetails()

getRequest

public final javax.servlet.http.HttpServletRequest getRequest()

getServletException

public static final javax.servlet.ServletException getServletException(AuthzException ae,
                                                                       javax.servlet.http.HttpServletRequest request,
                                                                       String action,
                                                                       String[] details)


Copyright © 2011 DuraSpace. All Rights Reserved.