<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic New error exception concept in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582030#M862325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one give me an example for New error exception concept&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Mar 2008 06:09:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-29T06:09:50Z</dc:date>
    <item>
      <title>New error exception concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582030#M862325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one give me an example for New error exception concept&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 06:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582030#M862325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T06:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: New error exception concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582031#M862326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Riyaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions are also called errors.&lt;/P&gt;&lt;P&gt;but these errors will be handled using Raise command in FMs.&lt;/P&gt;&lt;P&gt;or else we can handle them by throw/catch commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 06:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582031#M862326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T06:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: New error exception concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582032#M862327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In release 6.10 a new exception concept has been introduced. Please find below a basic syntax of how to code the new error-handling concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Syntax for TRY .. ENDTRY construct&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;    CALL METHOD o1-&amp;gt;m1.&lt;/P&gt;&lt;P&gt;    PERFORM f1.&lt;/P&gt;&lt;P&gt;  CATCH cx_root.  "Handler for all exceptions&lt;/P&gt;&lt;P&gt;       " ABAP code(What to do when error occures)........&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f1 RAISING cx_my.&lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;    IF ...... RAISE EXCEPTION TYPE cx_my2. ENDIF.&lt;/P&gt;&lt;P&gt;      CALL METHOD o1-&amp;gt;m3.&lt;/P&gt;&lt;P&gt;  CATCH cx_my1 cx_my3 INTO ex.&lt;/P&gt;&lt;P&gt;    RAISE EXCEPTION TYPE cx_my4.&lt;/P&gt;&lt;P&gt;  CATCH cx_my4.&lt;/P&gt;&lt;P&gt;     "Handler for exceptions of type cx_my4&lt;/P&gt;&lt;P&gt;     " ABAP code(What to do when error occures)........&lt;/P&gt;&lt;P&gt;  CLEANUP.&lt;/P&gt;&lt;P&gt;     "Cleanup section, used to restore to a consistant state&lt;/P&gt;&lt;P&gt;     " ABAP code........&lt;/P&gt;&lt;P&gt;  ENDTRY.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sowjanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 10:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-error-exception-concept/m-p/3582032#M862327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T10:15:34Z</dc:date>
    </item>
  </channel>
</rss>

