© 2003 BEA Systems, Inc.

com.bea.portal.admin
Class RealmNotWritableAddException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.bea.p13n.exceptions.ApplicationException
                    |
                    +--com.bea.portal.admin.RealmNotWritableAddException
All Implemented Interfaces:
Serializable

public class RealmNotWritableAddException
extends ApplicationException

thrown by the various admin EJB's when *add* functionality which requires a writable (aka manageable) realm is required.

See Also:
ApplicationException, Serialized Form

Constructor Summary
RealmNotWritableAddException(String principalName, String resourceName, String userGroupName)
          Constructor
RealmNotWritableAddException(String message, String principalName, String resourceName, String userGroupName)
          Constructor
RealmNotWritableAddException(String message, Throwable t, String principalName, String resourceName, String userGroupName)
          Constructor
RealmNotWritableAddException(Throwable t, String principalName, String resourceName, String userGroupName)
          Constructor
 
Method Summary
 String getPrincipalName()
           
 String getResourceName()
           
 String getUserGroupName()
           
 
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

RealmNotWritableAddException

public RealmNotWritableAddException(String principalName,
                                    String resourceName,
                                    String userGroupName)
Constructor

Parameters:
principalName - the principalName
resourceName - the resource
userGroupName - the userGroupName

RealmNotWritableAddException

public RealmNotWritableAddException(String message,
                                    String principalName,
                                    String resourceName,
                                    String userGroupName)
Constructor

Parameters:
message - String representing the Exception message
principalName - the username
resourceName - the resource
userGroupName - the userGroupName

RealmNotWritableAddException

public RealmNotWritableAddException(String message,
                                    Throwable t,
                                    String principalName,
                                    String resourceName,
                                    String userGroupName)
Constructor

Parameters:
message - String representing the Exception message
t - Throwable object representing the wrapped or chained exception
principalName - the username
resourceName - the resource
userGroupName - the userGroupName

RealmNotWritableAddException

public RealmNotWritableAddException(Throwable t,
                                    String principalName,
                                    String resourceName,
                                    String userGroupName)
Constructor

Parameters:
t - Throwable object representing the wrapped or chained exception
principalName - the username
resourceName - the resource
userGroupName - the userGroupName
Method Detail

getPrincipalName

public String getPrincipalName()
Returns:
username

getResourceName

public String getResourceName()
Returns:
resource

getUserGroupName

public String getUserGroupName()

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved