com.vinculumtech.carrierwave.image
Class IconOnlyFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.util.NoSuchElementException
                  extended bycom.vinculumtech.carrierwave.image.IconOnlyFoundException
All Implemented Interfaces:
java.io.Serializable

public class IconOnlyFoundException
extends java.util.NoSuchElementException

An IconOnlyFoundException is thrown when a graph of images contains only an Icon at a given edge.
This is typically the case after a 'fuzzy' select.
To prevent this exception from being thrown, use the icon getters on a particular Image subclass, instead of the Image getter.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/image/IconOnlyFoundException.java#3 $
See Also:
Serialized Form

Constructor Summary
protected IconOnlyFoundException()
           
  IconOnlyFoundException(Icon foundIcon)
           
  IconOnlyFoundException(java.lang.String message, Icon foundIcon)
           
 
Method Summary
 Icon getFoundIcon()
           
protected  void setFoundIcon(Icon foundIcon)
           
 
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

IconOnlyFoundException

protected IconOnlyFoundException()

IconOnlyFoundException

public IconOnlyFoundException(Icon foundIcon)

IconOnlyFoundException

public IconOnlyFoundException(java.lang.String message,
                              Icon foundIcon)
Method Detail

setFoundIcon

protected void setFoundIcon(Icon foundIcon)

getFoundIcon

public Icon getFoundIcon()


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.