Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community
Class ImageException

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

public class ImageException
extends JiveException

Thrown if there are problems with creation or loading of an Image.

See Also:
Serialized Form

Field Summary
static int BAD_CONTENT_TYPE
           
static int GENERAL_ERROR
           
static int TOO_LARGE
           
static int TOO_MANY_IMAGES
           
 
Constructor Summary
ImageException(int errorType)
           
ImageException(int errorType, Throwable nestedThrowable)
           
ImageException(String msg)
           
ImageException(String msg, int errorType)
           
 
Method Summary
 int getErrorType()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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_IMAGES

public static final int TOO_MANY_IMAGES
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

ImageException

public ImageException(int errorType)

ImageException

public ImageException(int errorType,
                      Throwable nestedThrowable)

ImageException

public ImageException(String msg,
                      int errorType)

ImageException

public ImageException(String msg)
Method Detail

getErrorType

public int getErrorType()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

Clearspace Project Page

Copyright © 1999-2007 Jive Software.