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.
- See Also:
- Serialized Form
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 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 |
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)
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