org.springframework.richclient.image
Class NoSuchImageResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.richclient.image.NoSuchImageResourceException
All Implemented Interfaces:
Serializable

public class NoSuchImageResourceException
extends RuntimeException

Indicates that a image resource could not be found from an underlying data source.

Author:
Keith Donald
See Also:
Serialized Form

Constructor Summary
NoSuchImageResourceException(Object imageKey)
          Creates an exception message indicating the specified imageKey did not map to a valid resource.
NoSuchImageResourceException(Object imageKey, Throwable cause)
          Creates an exception message indicating the specified imageKey did not map to a valid resource.
 
Method Summary
 String getMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchImageResourceException

public NoSuchImageResourceException(Object imageKey)
Creates an exception message indicating the specified imageKey did not map to a valid resource.

Parameters:
imageKey - The unknown image key.

NoSuchImageResourceException

public NoSuchImageResourceException(Object imageKey,
                                    Throwable cause)
Creates an exception message indicating the specified imageKey did not map to a valid resource. A cause is provided.

Parameters:
imageKey - The unknown image key.
cause - The reason the resource was not found.
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.