XCC/J 3.2-9

com.marklogic.xcc.exceptions
Class RequestPermissionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.marklogic.xcc.exceptions.XccException
              extended bycom.marklogic.xcc.exceptions.RequestException
                  extended bycom.marklogic.xcc.exceptions.RequestPermissionException
All Implemented Interfaces:
Serializable

public class RequestPermissionException
extends RequestException

This exception indicates missing or incorrect permissions for a server request.

See Also:
Serialized Form

Constructor Summary
RequestPermissionException(String message, Request request, String user)
           
RequestPermissionException(String message, Request request, String user, Throwable cause)
           
 
Method Summary
 String getUser()
          The user to which this permission issue applies.
 
Methods inherited from class com.marklogic.xcc.exceptions.RequestException
getRequest, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestPermissionException

public RequestPermissionException(String message,
                                  Request request,
                                  String user)

RequestPermissionException

public RequestPermissionException(String message,
                                  Request request,
                                  String user,
                                  Throwable cause)
Method Detail

getUser

public String getUser()
The user to which this permission issue applies.

Returns:
A user name as a String.

XCC/J 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com