Revision: 1422
Author: sberlin
Date: Sun Nov 21 09:37:44 2010
Log: Edited wiki page ThrowingProviders through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1422
Modified:
/wiki/ThrowingProviders.wiki
=======================================
--- /wiki/ThrowingProviders.wiki Sun Nov 21 09:35:56 2010
+++ /wiki/ThrowingProviders.wiki Sun Nov 21 09:37:44 2010
@@ -32,10 +32,10 @@
T get() throws Exception;
}
}}}
-For each application exception, create an interface that extends
the !CheckedProvider. For our news widget application, we created
the !FeedProvider interface that throws a !FeedUnavailableException
and !SecurityException:
+For each object where providing may throw an exception, create an
interface that extends the !CheckedProvider. For our news widget
application, we created the !FeedProvider interface that throws
a !FeedUnavailableException and !SecurityException:
{{{
public interface FeedProvider<T> extends CheckedProvider<T> {
- T get() throws FeedUnavailableException, SecurityException
+ T get() throws FeedUnavailableException, SecurityException;
}
}}}
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.