Questions Tagged With error-handlinghttps://answers.axonivy.com/tags/error-handling/?type=rss&user=Stelt0questions tagged <span class="tag">error-handling</span>enThu, 18 Aug 2016 18:05:26 -0400ivy.html.startref throws exception on serverhttps://answers.axonivy.com/questions/1973/ivy-html-startref-throws-exception-on-server<p>Hello all,</p> <p>I just found out that this method:</p> <pre><code>ivy.html.startref("Start Processes/DashboardPages/DefaultApplicationHomePage.ivp") </code></pre> <p>throws an exception on the ivy server, but not in the Designer</p> <p>Why ? What am I missing ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 18 Aug 2016 18:05:26 -0400https://answers.axonivy.com/questions/1973/ivy-html-startref-throws-exception-on-servererror-handlingError handler redirect to Web Page or User Dialog ?https://answers.axonivy.com/questions/1940/error-handler-redirect-to-web-page-or-user-dialog<p>Hello All,</p> <p>I have an interesting situation.</p> <p>I have a User Dialog with interactions and a bit complex Logic. There is a point in the process where I`m trowing an exception and I want to redirect the user to an error page: <img alt="alt text" src="http://answers.axonivy.com/upfiles/1.JPG"></p> <p>I want to catch the exception in the business process where to do the redirect. Here is the confusing part:</p> <ol> <li> <p>If I redirect to User Dialog, everything is working correctly: <img alt="alt text" src="http://answers.axonivy.com/upfiles/3.JPG"></p> </li> <li> <p>If I redirect to Web Page (JSP from the CMS) it is trowing an error. <img alt="alt text" src="http://answers.axonivy.com/upfiles/2.JPG"></p> </li> </ol> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/4.JPG"></p> <p>Is this a bug or wrong architecture from my side ?</p> <p>anyway, what is the best practice for managing exceptions in User Dialog`s Logic?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 04 Aug 2016 14:38:50 -0400https://answers.axonivy.com/questions/1940/error-handler-redirect-to-web-page-or-user-dialoghtmluserdialogbest-practiceerror-handling