etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Miksovic (JIRA)" <>
Subject [jira] [Created] (ETCH-167) @ToString directive applied to exception
Date Thu, 18 Aug 2011 02:05:27 GMT
@ToString directive applied to exception

                 Key: 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:


View raw message