com.spotfire.server.userdir
Class NoSuchPrincipalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.spotfire.server.NestedRuntimeException
                  extended by com.spotfire.server.userdir.UserDirectoryException
                      extended by com.spotfire.server.userdir.NoSuchPrincipalException

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:
DSS 7.3
See Also:
Serialized Form

Constructor Summary
NoSuchPrincipalException()
          Deprecated.  
NoSuchPrincipalException(String message)
          Deprecated.  
NoSuchPrincipalException(String message, Guid guid, String name)
          Constructs a NoSuchPrincipalException with the specified detail message for the principal with the specified GUID and name.
NoSuchPrincipalException(String message, String guid, String name)
          Constructs a NoSuchPrincipalException with the specified detail message for the principal with the specified GUID and name.
 
Method Summary
 String getGuid()
          Returns the non-existing principal's GUID.
 String getName()
          Returns the non-existing principal's name.
 
Methods inherited from class com.spotfire.server.NestedRuntimeException
abbreviatedStackTraceToString, getLocalizedMessage, getLogDetail, getLogEntry, getLogPriority, getMessageBundle, getMessageParameters, getRootCause, logStackTrace, setLogDetail, setLogPriority, setMessageParameters, stackTraceToString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

NoSuchPrincipalException

public NoSuchPrincipalException()
Deprecated. 

Constructs a NoSuchPrincipalException with no detail message. This constructor is deprecated. Please use a constructor that adds information about the non-existing principal.

Since:
DSS 7.3

NoSuchPrincipalException

public NoSuchPrincipalException(String message)
Deprecated. 

Constructs a NoSuchPrincipalException with a specified detail message. This constructor is deprecated. Please use a constructor that adds information about the non-existing principal.

Parameters:
message - the detail message
Since:
DSS 7.3

NoSuchPrincipalException

public NoSuchPrincipalException(String message,
                                String guid,
                                String name)
Constructs a NoSuchPrincipalException with the specified detail message for the principal with the specified GUID and name.

Parameters:
message - the detail message
Since:
SfAS 9.0

NoSuchPrincipalException

public NoSuchPrincipalException(String message,
                                Guid guid,
                                String name)
Constructs a NoSuchPrincipalException with the specified detail message for the principal with the specified GUID and name.

Parameters:
message - the detail message
Since:
SfAS 9.0
Method Detail

getGuid

public String getGuid()
Returns the non-existing principal's GUID.

Returns:
the non-existing principal's GUID

getName

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

Returns:
the non-existing principal's name


Copyright © 2000-2009 TIBCO Software Inc. All Rights Reserved.