From 0c157f002fa17afc6d6bd727a9b2106539d1b4fe Mon Sep 17 00:00:00 2001 From: Ben Hale Date: Fri, 27 Apr 2007 20:31:56 +0000 Subject: [PATCH] The rest of the javadoc backport. Should have commited this last week when I did it. --- .../springframework/webflow/context/ExternalContextHolder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java b/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java index 3c51e228..51af9f55 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java @@ -45,7 +45,8 @@ public final class ExternalContextHolder { /** * Return the ExternalContext associated with the current thread, if any. - * @return the current ExternalContext, or null if none + * @return the current ExternalContext + * @throws IllegalStateException if no ExternalContext is bound to this thread */ public static ExternalContext getExternalContext() { Assert.state(externalContextHolder.get() != null, "No external context is bound to this thread");