com.sap.security.api.umap
Class MultipleHitException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sap.security.api.UMException
                    |
                    +--com.sap.security.api.umap.NoLogonDataAvailableException
                          |
                          +--com.sap.security.api.umap.MultipleHitException
All Implemented Interfaces:
java.io.Serializable

public class MultipleHitException
extends NoLogonDataAvailableException

This exception is thrown when an inverse search for user elements gives more than one hit. See IUserMapping.getInverseMappingData(String,String,byte).

See Also:
Serialized Form

Constructor Summary
MultipleHitException(java.lang.String[] userids)
          Constructor for MultipleHitException.
MultipleHitException(java.lang.String msg, java.lang.String[] userids)
          Constructor for MultipleHitException.
 
Method Summary
 java.lang.String[] getUserNames()
          Returns the array of hits.
 
Methods inherited from class com.sap.security.api.UMException
getLocalizedMessage, getMessage, getNestedException, main, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleHitException

public MultipleHitException(java.lang.String[] userids)
Constructor for MultipleHitException.

MultipleHitException

public MultipleHitException(java.lang.String msg,
                            java.lang.String[] userids)
Constructor for MultipleHitException.
Parameters:
msg - Exception message
userids - user ids of the user objects found
Method Detail

getUserNames

public java.lang.String[] getUserNames()
Returns the array of hits.
Returns:
a string arrays with uids of the users found that have maintained the same mapping.


Copyright © 2002 SAP AG All Rights Reserved.