<?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 Re: REST Custom ErrorCode and Message in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138895#M97361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I pointed you to the class that tests the behavior. See &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/8b3b750b9a2b88fbf888761ea6afe81c7012da9a/modules/activiti-common-rest/src/main/java/org/activiti/rest/application/ActivitiStatusService.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/8b3b750b9a2b88fbf888761ea6afe81c7012da9a/modules/activiti-common-rest/src/main/java/org/activiti/rest/application/ActivitiStatusService.java&lt;/A&gt;&lt;SPAN&gt; for the actual class… Github has an awesome search-feature, you know &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 07:00:59 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-07-10T07:00:59Z</dc:date>
    <item>
      <title>REST Custom ErrorCode and Message</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138892#M97358</link>
      <description>In previous aciviti REST version if any exception occurred in process it will send only 500 ( internal server error ).But in Activiti 5.13 REST version now we can get exact error code with message (e.g 401- unauthorized ).My question is that can I add my custom error code and message ,so that I can</description>
      <pubDate>Mon, 08 Jul 2013 06:07:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138892#M97358</guid>
      <dc:creator>sarkar92</dc:creator>
      <dc:date>2013-07-08T06:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: REST Custom ErrorCode and Message</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138893#M97359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See the ActivitiStatusService class (&lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/8b3b750b9a2b88fbf888761ea6afe81c7012da9a/modules/activiti-rest/src/test/java/org/activiti/rest/ActivitiStatusServiceTest.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/8b3b750b9a2b88fbf888761ea6afe81c7012da9a/modules/activiti-rest/src/test/java/org/activiti/rest/ActivitiStatusServiceTest.java&lt;/A&gt;&lt;SPAN&gt;). You can set a custom implementation of that class in the RestApplication you're using (subclass the existing application and call setStatusService() when initializing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll get an exception passed in when one occurs, and you'll be able to return a custom status and even a custom error-JSOn body (or other body).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:32:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138893#M97359</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-09T07:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: REST Custom ErrorCode and Message</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138894#M97360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not able to find the class "ActivitiStatusService " in this path " activiti-rest / src / main / java / org / activiti / rest / application&amp;nbsp; "&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 09:29:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138894#M97360</guid>
      <dc:creator>sarkar92</dc:creator>
      <dc:date>2013-07-09T09:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: REST Custom ErrorCode and Message</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138895#M97361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I pointed you to the class that tests the behavior. See &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/8b3b750b9a2b88fbf888761ea6afe81c7012da9a/modules/activiti-common-rest/src/main/java/org/activiti/rest/application/ActivitiStatusService.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/8b3b750b9a2b88fbf888761ea6afe81c7012da9a/modules/activiti-common-rest/src/main/java/org/activiti/rest/application/ActivitiStatusService.java&lt;/A&gt;&lt;SPAN&gt; for the actual class… Github has an awesome search-feature, you know &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 07:00:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-custom-errorcode-and-message/m-p/138895#M97361</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-10T07:00:59Z</dc:date>
    </item>
  </channel>
</rss>

