Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base
Class UserNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jivesoftware.base.JiveException
              extended by com.jivesoftware.base.UserNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class UserNotFoundException
extends JiveException

Thrown when User cannot be found.

See Also:
Serialized Form

Constructor Summary
UserNotFoundException()
           
UserNotFoundException(long userID)
          Allows you to create an exception specifying the id of the user that was not found
UserNotFoundException(java.lang.String msg)
           
UserNotFoundException(java.lang.String msg, java.lang.Throwable throwable)
           
UserNotFoundException(java.lang.Throwable throwable)
           
 
Method Summary
 long getUserID()
          Returns id of the user not found if available, else -1.
 java.lang.String getUsername()
          Returns username of the user not found if available, else null.
 void setUserID(long userID)
           
 void setUsername(java.lang.String username)
           
 
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()

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(java.lang.String msg)

UserNotFoundException

public UserNotFoundException(java.lang.String msg,
                             java.lang.Throwable throwable)

UserNotFoundException

public UserNotFoundException(java.lang.Throwable throwable)
Method Detail

setUserID

public void setUserID(long userID)

setUsername

public void setUsername(java.lang.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 java.lang.String getUsername()
Returns username of the user not found if available, else null.

Returns:
username of the user not found if available, else null.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.