Clearspace API (2.5.18) Core Javadocs

com.jivesoftware.community
Class CommunityNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jivesoftware.community.JiveException
              extended by com.jivesoftware.community.NotFoundException
                  extended by com.jivesoftware.community.CommunityNotFoundException
All Implemented Interfaces:
Serializable

@WebFault(name="CommunityNotFound")
public class CommunityNotFoundException
extends NotFoundException

Thrown if the specified Community was not found

See Also:
Serialized Form

Constructor Summary
CommunityNotFoundException()
           
CommunityNotFoundException(long communityID)
          Creates this exception with the id of the community that could not be found.
CommunityNotFoundException(String msg)
           
CommunityNotFoundException(String s, long communityID)
          Creates this exception with a messages and the id of the community that could not be found.
CommunityNotFoundException(String msg, Throwable throwable)
           
 
Method Summary
 long getCommunityID()
          The id of the community that was not found.
 void setCommunityID(long communityID)
          Sets the id of the community that was not 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

CommunityNotFoundException

public CommunityNotFoundException()

CommunityNotFoundException

public CommunityNotFoundException(String msg)

CommunityNotFoundException

public CommunityNotFoundException(String msg,
                                  Throwable throwable)

CommunityNotFoundException

public CommunityNotFoundException(String s,
                                  long communityID)
Creates this exception with a messages and the id of the community that could not be found.

Parameters:
s - message string
communityID - id of the community that could not be found

CommunityNotFoundException

public CommunityNotFoundException(long communityID)
Creates this exception with the id of the community that could not be found.

Parameters:
communityID - ID of the community not found.
Method Detail

setCommunityID

public void setCommunityID(long communityID)
Sets the id of the community that was not found.

Parameters:
communityID - if of the community that was not found

getCommunityID

public long getCommunityID()
The id of the community that was not found.

Returns:
Id of the forum that was not found

Clearspace Project Page

Copyright © 1999-2007 Jive Software.