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

Adds D4 statement being executed to compiler exceptions. #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n8allan
Copy link
Collaborator

@n8allan n8allan commented Aug 3, 2017

Also added an interface so that this commonality between runtime and compiler exceptions is represented.

@n8allan n8allan requested a review from brynrhodes August 3, 2017 19:22
Copy link
Contributor

@brynrhodes brynrhodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great except that I can't find how it would ever work with RuntimeExceptions, and I don't see anywhere that uses the new ExceptionInContext string.

@@ -348,4 +348,9 @@
<data name="SchemaObjectDescription.ServerLink" xml:space="preserve">
<value>Server link "{0}" ({1} on {2}{3})</value>
</data>
<data name="ExceptionInContext" xml:space="preserve">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot find anywhere in the code that this string is referenced? Is this supposed to be part of this commit?

@@ -12,7 +12,7 @@ namespace Alphora.Dataphor.DAE.Runtime
using Alphora.Dataphor.DAE.Debug;
using Alphora.Dataphor.DAE.Runtime.Instructions;

public class RuntimeException : DAEException, ILocatorException
public class RuntimeException : DAEException, ILocatorException, ICodeContextException
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see anywhere that would ever set the context of a RuntimeException? Am I missing it?

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

Successfully merging this pull request may close these issues.

2 participants