com.vinculumtech.carrierwave.source
Class AbstractImageSource

java.lang.Object
  extended bycom.vinculumtech.carrierwave.source.AbstractImageSource
All Implemented Interfaces:
ImageSource
Direct Known Subclasses:
CachingImageSource, DelegatingImageSource, RemoteImageSource

public abstract class AbstractImageSource
extends java.lang.Object
implements ImageSource

The AbstractImageSource class provides a concrete implementation of the ImageSource interface.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/source/AbstractImageSource.java#5 $

Constructor Summary
AbstractImageSource()
           
 
Method Summary
 ExceptionPolicy getExceptionPolicy()
           
protected  void handleException(java.lang.Throwable throwable)
          Delegate the given Throwable instance to an available ExceptionPolicy instance, or simply log the error.
 void setExceptionPolicy(ExceptionPolicy exceptionPolicy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vinculumtech.carrierwave.source.ImageSource
getImage
 

Constructor Detail

AbstractImageSource

public AbstractImageSource()
Method Detail

getExceptionPolicy

public ExceptionPolicy getExceptionPolicy()
Specified by:
getExceptionPolicy in interface ImageSource

setExceptionPolicy

public void setExceptionPolicy(ExceptionPolicy exceptionPolicy)
Specified by:
setExceptionPolicy in interface ImageSource

handleException

protected void handleException(java.lang.Throwable throwable)
Delegate the given Throwable instance to an available ExceptionPolicy instance, or simply log the error.

Parameters:
throwable -


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