db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6824) Move ShutdownException into shared code area
Date Sat, 11 Jul 2015 16:26:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623472#comment-14623472
] 

ASF subversion and git services commented on DERBY-6824:
--------------------------------------------------------

Commit 1690384 from [~bryanpendleton] in branch 'code/trunk'
[ https://svn.apache.org/r1690384 ]

DERBY-6824: Refactor ShutdownException into shared code area

Having the ShutdownException as a common shared exception class offers no
benefit on its own, but it is an enabler for being able to share the
exception encoding/decoding routines between the network client and the
network server.

There should be no functional changes as a result of this patch, and there
are no new tests added. Subsequent projects intend to build on this change
to introduce functional enhancements and they will include tests for that.

> Move ShutdownException into shared code area
> --------------------------------------------
>
>                 Key: DERBY-6824
>                 URL: https://issues.apache.org/jira/browse/DERBY-6824
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Miscellaneous
>            Reporter: Bryan Pendleton
>            Priority: Minor
>         Attachments: refactor.diff
>
>
> We would like to refactor MessageService.getLocalizedMessage()
> so that it resides as part of the new MessageUtils class in the
> shared library.
> However, MessageService.getLocalizedMessage() currently has
> a hard dependency on o.a.d.iapi.error.ShutdownException.
> This subtask proposes to move ShutdownException to
> o.a.d.shared.common.error.ShutdownException, so that it
> can be used by new error-handling code in the shared library
> in addition to being used in the engine code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message