com.sun.ebxml.registry.security
Class UnauthorizedRequestException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.ebxml.registry.RegistryException
                    |
                    +--com.sun.ebxml.registry.security.UnauthorizedRequestException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnregisteredUserException

public class UnauthorizedRequestException
extends RegistryException

This Exception is thrown when a User attempt a secure operation for which they are not authorized.

Author:
Farrukh S. Najmi
See Also:
Serialized Form

Constructor Summary
UnauthorizedRequestException(java.lang.String detail)
           
UnauthorizedRequestException(java.lang.String objectId, java.lang.String userId)
           
UnauthorizedRequestException(java.lang.String objectId, java.lang.String userId, java.lang.String action)
           
 
Method Summary
 java.lang.String getId()
          Get the id of the object on which the user makes unauthorized request
 java.lang.String getUserId()
          Get the id of the user who makes the unauthorized request
 
Methods inherited from class com.sun.ebxml.registry.RegistryException
getException, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UnauthorizedRequestException

public UnauthorizedRequestException(java.lang.String objectId,
                                    java.lang.String userId)

UnauthorizedRequestException

public UnauthorizedRequestException(java.lang.String objectId,
                                    java.lang.String userId,
                                    java.lang.String action)

UnauthorizedRequestException

public UnauthorizedRequestException(java.lang.String detail)
Method Detail

getId

public java.lang.String getId()
Get the id of the object on which the user makes unauthorized request


getUserId

public java.lang.String getUserId()
Get the id of the user who makes the unauthorized request



Copyright © 2001-2003 OASIS. All Rights Reserved.