com.jivesoftware.base
Class UserNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jivesoftware.community.JiveException
com.jivesoftware.community.NotFoundException
com.jivesoftware.base.UserNotFoundException
- All Implemented Interfaces:
- Serializable
@WebFault(name="UserNotFound")
public class UserNotFoundException
- extends NotFoundException
Thrown when User cannot be found.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UserNotFoundException
public UserNotFoundException()
UserNotFoundException
public UserNotFoundException(long userID)
- Allows you to create an exception specifying the id of the user that was not found
- Parameters:
userID - id of the user that was not found
UserNotFoundException
public UserNotFoundException(String msg)
UserNotFoundException
public UserNotFoundException(String msg,
Throwable throwable)
UserNotFoundException
public UserNotFoundException(Throwable throwable)
setUserID
public void setUserID(long userID)
setUsername
public void setUsername(String username)
getUserID
public long getUserID()
- Returns id of the user not found if available, else -1.
- Returns:
- id of the user not found if available, else -1.
getUsername
public String getUsername()
- Returns username of the user not found if available, else null.
- Returns:
- username of the user not found if available, else null.
Copyright © 1999-2007 Jive Software.