<?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 What's the difference between class-based exceptions and classic exception? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570280#M859255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi buddies,&lt;/P&gt;&lt;P&gt; I was learning the new class-based exception handling, a question suddently jumped in my brain:what's the difference between the new concept and the old exception concept EXCEPTIONS&lt;/P&gt;&lt;P&gt;*\                conversion_error        = 1&lt;/P&gt;&lt;P&gt;*\                file_open_error         = 2&lt;/P&gt;&lt;P&gt;*\                file_read_error         = 3&lt;/P&gt;&lt;P&gt;*\                invalid_type            = 4&lt;/P&gt;&lt;P&gt;*\                no_batch                = 5&lt;/P&gt;&lt;P&gt;*\                unknown_error           = 6&lt;/P&gt;&lt;P&gt;*\                invalid_table_width     = 7&lt;/P&gt;&lt;P&gt;*\                gui_refuse_filetransfer = 8&lt;/P&gt;&lt;P&gt;*\                customer_error          = 9&lt;/P&gt;&lt;P&gt;*\                OTHERS                  = 10.&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2008 09:06:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-27T09:06:57Z</dc:date>
    <item>
      <title>What's the difference between class-based exceptions and classic exception?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570280#M859255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi buddies,&lt;/P&gt;&lt;P&gt; I was learning the new class-based exception handling, a question suddently jumped in my brain:what's the difference between the new concept and the old exception concept EXCEPTIONS&lt;/P&gt;&lt;P&gt;*\                conversion_error        = 1&lt;/P&gt;&lt;P&gt;*\                file_open_error         = 2&lt;/P&gt;&lt;P&gt;*\                file_read_error         = 3&lt;/P&gt;&lt;P&gt;*\                invalid_type            = 4&lt;/P&gt;&lt;P&gt;*\                no_batch                = 5&lt;/P&gt;&lt;P&gt;*\                unknown_error           = 6&lt;/P&gt;&lt;P&gt;*\                invalid_table_width     = 7&lt;/P&gt;&lt;P&gt;*\                gui_refuse_filetransfer = 8&lt;/P&gt;&lt;P&gt;*\                customer_error          = 9&lt;/P&gt;&lt;P&gt;*\                OTHERS                  = 10.&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 09:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570280#M859255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T09:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between class-based exceptions and classic exception?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570281#M859256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In class base exceptions you do not need to capture the return-code at once and after each call, cause sy-subrc might be overriden. Instead you can catch the exception at a central point in the try statement coding the error handling only once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 09:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570281#M859256</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-03-27T09:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between class-based exceptions and classic exception?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570282#M859257</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;Go through this PDF, it will answer all your queries as to why the new class based exception is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f86c9290-0201-0010-7a93-dda3716dc0d2" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f86c9290-0201-0010-7a93-dda3716dc0d2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 09:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570282#M859257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T09:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between class-based exceptions and classic exception?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570283#M859258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Classic exceptions are usually mapped to a SY-SUBRC as soon as they occur.&lt;/P&gt;&lt;P&gt;Class based exceptions create an object representing the exception occurred. This object then can have attributes containing further information specifying the exception. (just an example...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 09:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-s-the-difference-between-class-based-exceptions-and-classic-exception/m-p/3570283#M859258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T09:19:51Z</dc:date>
    </item>
  </channel>
</rss>

