Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exceptions, do we need them? #8

Open
pmlopes opened this issue Jun 16, 2011 · 1 comment
Open

exceptions, do we need them? #8

pmlopes opened this issue Jun 16, 2011 · 1 comment

Comments

@pmlopes
Copy link
Collaborator

pmlopes commented Jun 16, 2011

All code is not using exception checking except StringUtil that uses BadConversion exception, for platforms where we are not using RTTI and Excption handling (to keep the binary size small) e.g.: PSP this forces the build to be with exceptions enabled.

Is it really necessary? or could we live with out it?

@cjcliffe
Copy link
Owner

We could possibly live without it, the DataTree system (our core binary/xml/json data conduit) depends on exceptions to be thrown to catch Type conversion errors (not that I always use it unfortunately ;) and such but it's a special case and we could possibly wrap in a simpler error message queue and return null responses instead for platforms like PSP and DC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants