Clearspace API (2.5.18) Core Javadocs

com.jivesoftware.community
Class AttachmentException

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

public class AttachmentException
extends JiveException

Thrown if an error occurs uploading or updating an Attachment.

See Also:
Serialized Form

Field Summary
static int BAD_CONTENT_TYPE
           
static int GENERAL_ERROR
           
static int TOO_LARGE
           
static int TOO_MANY_ATTACHMENTS
           
 
Constructor Summary
AttachmentException(int errorType)
           
AttachmentException(int errorType, String attachmentName)
           
AttachmentException(int errorType, Throwable nestedThrowable)
           
AttachmentException(int errorType, Throwable nestedThrowable, String attachmentName)
           
AttachmentException(String msg)
           
AttachmentException(String msg, int errorType)
           
AttachmentException(String msg, Throwable throwable)
           
AttachmentException(Throwable throwable)
           
 
Method Summary
 String getAttachmentName()
           
 int getErrorType()
           
 
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
 

Field Detail

TOO_LARGE

public static final int TOO_LARGE
See Also:
Constant Field Values

TOO_MANY_ATTACHMENTS

public static final int TOO_MANY_ATTACHMENTS
See Also:
Constant Field Values

BAD_CONTENT_TYPE

public static final int BAD_CONTENT_TYPE
See Also:
Constant Field Values

GENERAL_ERROR

public static final int GENERAL_ERROR
See Also:
Constant Field Values
Constructor Detail

AttachmentException

public AttachmentException(String msg,
                           Throwable throwable)

AttachmentException

public AttachmentException(Throwable throwable)

AttachmentException

public AttachmentException(int errorType)

AttachmentException

public AttachmentException(int errorType,
                           Throwable nestedThrowable)

AttachmentException

public AttachmentException(int errorType,
                           Throwable nestedThrowable,
                           String attachmentName)

AttachmentException

public AttachmentException(int errorType,
                           String attachmentName)

AttachmentException

public AttachmentException(String msg,
                           int errorType)

AttachmentException

public AttachmentException(String msg)
Method Detail

getErrorType

public int getErrorType()

getAttachmentName

public String getAttachmentName()

Clearspace Project Page

Copyright © 1999-2007 Jive Software.