Propagate the typely goodness.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1876 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -6,7 +6,7 @@ package com.samskivert.servlet.util;
|
|||||||
/**
|
/**
|
||||||
* Extends the basic ServiceWaiter to be useful for servlets.
|
* Extends the basic ServiceWaiter to be useful for servlets.
|
||||||
*/
|
*/
|
||||||
public class ServiceWaiter extends com.samskivert.util.ServiceWaiter
|
public class ServiceWaiter<T> extends com.samskivert.util.ServiceWaiter<T>
|
||||||
{
|
{
|
||||||
/** Timeout to specify when you don't want a timeout. Use at your own
|
/** Timeout to specify when you don't want a timeout. Use at your own
|
||||||
* risk. */
|
* risk. */
|
||||||
@@ -41,7 +41,6 @@ public class ServiceWaiter extends com.samskivert.util.ServiceWaiter
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return waitForResponse();
|
return waitForResponse();
|
||||||
|
|
||||||
} catch (TimeoutException te) {
|
} catch (TimeoutException te) {
|
||||||
throw new FriendlyException(friendlyText);
|
throw new FriendlyException(friendlyText);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user