You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Declan Shanaghy (JIRA)" <ji...@apache.org> on 2006/10/27 08:15:16 UTC

[jira] Created: (TORQUE-61) Base object save method throws generic exception

Base object save method throws generic exception
------------------------------------------------

                 Key: TORQUE-61
                 URL: http://issues.apache.org/jira/browse/TORQUE-61
             Project: Torque
          Issue Type: Bug
          Components: Generator
    Affects Versions: 3.2
         Environment: Windows/Linux, Torque-3.2, Turbine-2.3.1
            Reporter: Declan Shanaghy



The generated save method of the base object throws "Exception"
This forces me to declare all throw clauses up the stack to the controller as "throws Exception" which doesnt make sense because its too generic, the save method should throw TorqueException



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] Closed: (TORQUE-61) Base object save method throws generic exception

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TORQUE-61?page=all ]

Thomas Vandahl closed TORQUE-61.
--------------------------------


> Base object save method throws generic exception
> ------------------------------------------------
>
>                 Key: TORQUE-61
>                 URL: http://issues.apache.org/jira/browse/TORQUE-61
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 3.2
>         Environment: Windows/Linux, Torque-3.2, Turbine-2.3.1
>            Reporter: Declan Shanaghy
>         Assigned To: Thomas Fischer
>
> The generated save method of the base object throws "Exception"
> This forces me to declare all throw clauses up the stack to the controller as "throws Exception" which doesnt make sense because its too generic, the save method should throw TorqueException

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] Resolved: (TORQUE-61) Base object save method throws generic exception

Posted by "Thomas Fischer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TORQUE-61?page=all ]

Thomas Fischer resolved TORQUE-61.
----------------------------------

    Resolution: Invalid
      Assignee: Thomas Fischer

This behaviour is configurable. See the description of the property torque.saveException in
http://db.apache.org/torque/releases/torque-3.2/generator/properties-reference.html

> Base object save method throws generic exception
> ------------------------------------------------
>
>                 Key: TORQUE-61
>                 URL: http://issues.apache.org/jira/browse/TORQUE-61
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 3.2
>         Environment: Windows/Linux, Torque-3.2, Turbine-2.3.1
>            Reporter: Declan Shanaghy
>         Assigned To: Thomas Fischer
>
> The generated save method of the base object throws "Exception"
> This forces me to declare all throw clauses up the stack to the controller as "throws Exception" which doesnt make sense because its too generic, the save method should throw TorqueException

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org