<?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 ABAP OO Exception Class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-exception-class/m-p/811762#M41875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Class Based Exception Handling involves raising exception (RAISE EXCEPTION TYPE), catching it (CATCH within TRY/ENTRY block) and maybe execute GET_TEXT method to get the text for that exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allowing exception texts be stored as part of exception classes, does that mean that SAP is moving away from using SAP Message Class (transaction SE91 messages) and relying now onwards upon storing texts in respective Exception Clases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that SE91 holds not only the texts for exceptions (or hard errors) but also informational and warning messages, and hence if program condition has to display an informational or warning message, there is not need to create an Exception Class for such a condition (and then get the TEXT for that informational message from that Exception Class). Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls explain. Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Nov 2004 15:37:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-11-05T15:37:52Z</dc:date>
    <item>
      <title>ABAP OO Exception Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-exception-class/m-p/811762#M41875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Class Based Exception Handling involves raising exception (RAISE EXCEPTION TYPE), catching it (CATCH within TRY/ENTRY block) and maybe execute GET_TEXT method to get the text for that exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allowing exception texts be stored as part of exception classes, does that mean that SAP is moving away from using SAP Message Class (transaction SE91 messages) and relying now onwards upon storing texts in respective Exception Clases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that SE91 holds not only the texts for exceptions (or hard errors) but also informational and warning messages, and hence if program condition has to display an informational or warning message, there is not need to create an Exception Class for such a condition (and then get the TEXT for that informational message from that Exception Class). Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls explain. Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2004 15:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-exception-class/m-p/811762#M41875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-05T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Exception Class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-exception-class/m-p/811763#M41876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chetan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sap is not moving away from T100-based (SE91) messages at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact you do not store exceptions texts in exception classes but in the OTR (Online Text Repository) and still in T100. If an exception class implements the interface IF_T100_MESSAGE (as of Release 6.40), you can use the statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE excref TYPE ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to display the message after &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATCH INTO excref. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is recommended to use T100-messages for texts send to the user via MESSAGE and OTR-texts for texts not sent to the user but used internally, e.g. for writing into logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2004 16:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-exception-class/m-p/811763#M41876</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2004-11-09T16:44:32Z</dc:date>
    </item>
  </channel>
</rss>

