org.fcrepo.server.errors.servletExceptionExtensions
Class Unauthorized401Exception

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
                  extended by org.fcrepo.server.errors.servletExceptionExtensions.Unauthorized401Exception
All Implemented Interfaces:
Serializable

public class Unauthorized401Exception
extends RootException

Thrown to reach 401-Unauthorized error page.

Can be used when forwarding can't, e.g., after some http output has already been written.

Author:
Bill Niebel
See Also:
Serialized Form

Constructor Summary
Unauthorized401Exception(javax.servlet.http.HttpServletRequest request, String action, String detail, String[] details)
           
Unauthorized401Exception(String message, javax.servlet.http.HttpServletRequest request, String action, String detail, String[] details)
           
Unauthorized401Exception(String message, Throwable cause, javax.servlet.http.HttpServletRequest request, String action, String detail, String[] details)
           
 
Method Summary
 
Methods inherited from class org.fcrepo.server.errors.servletExceptionExtensions.RootException
getAction, getDetail, getDetails, getRequest, getServletException
 
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

Unauthorized401Exception

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

Unauthorized401Exception

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

Unauthorized401Exception

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


Copyright © 2011 DuraSpace. All Rights Reserved.