@ToString directive applied to exception
----------------------------------------

                 Key: ETCH-167
                 URL: https://issues.apache.org/jira/browse/ETCH-167
             Project: Etch
          Issue Type: Bug
          Components: csharp-binding
    Affects Versions: 1.1
            Reporter: Michal Miksovic
            Priority: Trivial


when using @ToString directive on an exception with no arguments

@ToString("Invalid user name or password")
exception AuthenticationException()

generated C# method in exception class code doesn't surround the message with 
apostrophes thus can't be built.

public new String GetMessage()
{
   return Invalid user name or password;
}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to