You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org> on 2010/06/10 18:11:14 UTC

[jira] Created: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Change message stores to throw exceptions with internal error code 541
----------------------------------------------------------------------

                 Key: QPID-2659
                 URL: https://issues.apache.org/jira/browse/QPID-2659
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker, Java Broker MessageStore - DerbyStore
    Affects Versions: 0.7
            Reporter: Andrew Kennedy
             Fix For: 0.7


The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2659:
---------------------------------

    Attachment:     (was: 0007-QPID-2659-Add-AMQInternalException-to-message-store.patch)

> Change message stores to throw exceptions with internal error code 541
> ----------------------------------------------------------------------
>
>                 Key: QPID-2659
>                 URL: https://issues.apache.org/jira/browse/QPID-2659
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker, Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Andrew Kennedy
>             Fix For: 0.7
>
>
> The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Closed: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy closed QPID-2659.
--------------------------------

    Assignee: Andrew Kennedy

Closed

> Change message stores to throw exceptions with internal error code 541
> ----------------------------------------------------------------------
>
>                 Key: QPID-2659
>                 URL: https://issues.apache.org/jira/browse/QPID-2659
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker, Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Andrew Kennedy
>             Fix For: 0.7
>
>
> The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2659:
---------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: QPID-2656

> Change message stores to throw exceptions with internal error code 541
> ----------------------------------------------------------------------
>
>                 Key: QPID-2659
>                 URL: https://issues.apache.org/jira/browse/QPID-2659
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker, Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>
> The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877777#action_12877777 ] 

Andrew Kennedy commented on QPID-2659:
--------------------------------------

Also add AMQStoreException as a subclass of AMQInternalException

> Change message stores to throw exceptions with internal error code 541
> ----------------------------------------------------------------------
>
>                 Key: QPID-2659
>                 URL: https://issues.apache.org/jira/browse/QPID-2659
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker, Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>
> The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy resolved QPID-2659.
----------------------------------

    Resolution: Fixed

Comitted changes

> Change message stores to throw exceptions with internal error code 541
> ----------------------------------------------------------------------
>
>                 Key: QPID-2659
>                 URL: https://issues.apache.org/jira/browse/QPID-2659
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker, Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>
> The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2659) Change message stores to throw exceptions with internal error code 541

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2659:
---------------------------------

    Attachment: 0007-QPID-2659-Add-AMQInternalException-to-message-store.patch

> Change message stores to throw exceptions with internal error code 541
> ----------------------------------------------------------------------
>
>                 Key: QPID-2659
>                 URL: https://issues.apache.org/jira/browse/QPID-2659
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Broker, Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>         Attachments: 0007-QPID-2659-Add-AMQInternalException-to-message-store.patch
>
>
> The message stores, particularly the Derby store, should not throw RuntimeExceptions, but AMQExceptions with error code 541. This should be encapsulated in an exception class like AMQSecurityException, that sets the code to AMQConstant#INTERNAL_ERROR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org