Click here to Skip to main content

Design and Architecture

 
QuestionStandard exceptions for an RPC library? Pinmemberjohndw9416-Aug-12 19:43 
AnswerRe: Standard exceptions for an RPC library? PinmemberEddy Vluggen16-Aug-12 22:30 
GeneralRe: Standard exceptions for an RPC library? Pinmemberjohndw9417-Aug-12 7:09 
AnswerRe: Standard exceptions for an RPC library? PinmemberEddy Vluggen17-Aug-12 8:20 
GeneralRe: Standard exceptions for an RPC library? Pinmemberjohndw9417-Aug-12 10:03 
GeneralRe: Standard exceptions for an RPC library? PinmvpRichard MacCutchan17-Aug-12 22:14 
The usual way round this is to have your library provide core functionality, and its own set of internal exceptions. You then add a wrapper for each language which maps method/function calls and internal library data to the types required by the language.
 
[edit]
Alternatively, forget about exceptions and just use return codes to indicate success or failure of client requests. XML offers many possible ways of achieving this.
[/edit]
One of these days I'm going to think of a really clever signature.

GeneralRe: Standard exceptions for an RPC library? Pinmemberjohndw9418-Aug-12 7:21 
GeneralRe: Standard exceptions for an RPC library? PinmvpRichard MacCutchan18-Aug-12 9:29 
GeneralRe: Standard exceptions for an RPC library? Pinmemberaxpnumtheory18-Aug-12 9:32 
GeneralRe: Standard exceptions for an RPC library? PinmvpRichard MacCutchan18-Aug-12 9:36 
QuestionRe: Standard exceptions for an RPC library? PinmemberEddy Vluggen17-Aug-12 23:07 
AnswerRe: Standard exceptions for an RPC library? Pinmemberjohndw9418-Aug-12 7:36 
GeneralRe: Standard exceptions for an RPC library? PinmemberEddy Vluggen18-Aug-12 7:47 
GeneralRe: Standard exceptions for an RPC library? Pinmemberjohndw9418-Aug-12 8:32 
GeneralRe: Standard exceptions for an RPC library? PinmemberEddy Vluggen18-Aug-12 10:43 
AnswerRe: Standard exceptions for an RPC library? Pinmemberjschell19-Aug-12 6:59 
GeneralRe: Standard exceptions for an RPC library? PinmvpRichard MacCutchan19-Aug-12 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 18 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid