Class NoSuchPrincipalException

All Implemented Interfaces:
Serializable

public class NoSuchPrincipalException extends UserDirectoryException
This exception is thrown when an operation has been requested on a principal that does not exist in the user directory.
Since:
3.0
See Also:
  • Constructor Details

    • NoSuchPrincipalException

      @Deprecated public NoSuchPrincipalException(String message, String guid, String name)
      Deprecated.
      This class should not be instantiated by users of the API.
      Constructs a NoSuchPrincipalException with the specified detail message for the principal with the specified GUID and name.
      Parameters:
      message - the detail message
      guid - the GUID of the missing principal
      name - the name of the missing principal
      Since:
      3.0
    • NoSuchPrincipalException

      @Deprecated public NoSuchPrincipalException(String message, Guid guid, String name)
      Deprecated.
      This class should not be instantiated by users of the API.
      Constructs a NoSuchPrincipalException with the specified detail message for the principal with the specified GUID and name.
      Parameters:
      message - the detail message
      guid - the GUID of the missing principal
      name - the name of the missing principal
      Since:
      3.0
  • Method Details

    • getGuid

      public String getGuid()
      Returns the non-existing principal's GUID.
      Returns:
      the non-existing principal's GUID
      Since:
      3.0
    • getName

      public String getName()
      Returns the non-existing principal's name.
      Returns:
      the non-existing principal's name
      Since:
      3.0