org.ow2.bonita.identity
Class UserNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.bonita.identity.UserNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class UserNotFoundException
extends java.lang.Exception

Author:
"Pierre Vigneras"
See Also:
Serialized Form

Constructor Summary
UserNotFoundException(java.lang.String id)
           
UserNotFoundException(UserOp user)
           
 
Method Summary
 java.lang.String getId()
          Return the id that is was not mapped to any user.
 UserOp getUser()
          Return the user that has not been found.
 
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

UserNotFoundException

public UserNotFoundException(java.lang.String id)

UserNotFoundException

public UserNotFoundException(UserOp user)
Method Detail

getUser

public UserOp getUser()
Return the user that has not been found. May be null.

Returns:
the user that has not been found. May be null.

getId

public java.lang.String getId()
Return the id that is was not mapped to any user. Cannot be null.

Returns:
the id that is was not mapped to any user. Cannot be null.


Copyright © 2009 OW2 Consortium. All Rights Reserved.