You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2007/10/05 10:17:30 UTC

svn commit: r582116 - /myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java

Author: skitching
Date: Fri Oct  5 01:17:30 2007
New Revision: 582116

URL: http://svn.apache.org/viewvc?rev=582116&view=rev
Log:
Handle change in FrameworkAdapterInterface class: navigate can now throw IOException.

Modified:
    myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java

Modified: myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java?rev=582116&r1=582115&r2=582116&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java (original)
+++ myfaces/orchestra/trunk/core15/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java Fri Oct  5 01:17:30 2007
@@ -126,7 +126,15 @@
 				}
 				else if (!StringUtils.isEmpty(conversationRequire.navigationAction()))
 				{
-					FrameworkAdapter.getInstance().invokeNavigation(conversationRequire.navigationAction());
+					try
+					{
+						String dst = conversationRequire.navigationAction();
+						FrameworkAdapter.getInstance().invokeNavigation(dst);
+					}
+					catch (IOException e)
+					{
+						throw new OrchestraException(e);
+					}
 				}
 			}
 		}