[
https://jira.jboss.org/jira/browse/JBAS-7134?page=com.atlassian.jira.plug...
]
Greg Hinkle commented on JBAS-7134:
-----------------------------------
A better way to do this would be to just throw the exception. We want this to be a
"failed" operation type. It'll be useful to be able to alert off a scheduled
version of this.
Modify "testConnection" ManagedOperation to return a
composite value containing a Boolean and a String
------------------------------------------------------------------------------------------------------
Key: JBAS-7134
URL:
https://jira.jboss.org/jira/browse/JBAS-7134
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: ProfileService
Affects Versions: JBossAS-5.1.0.GA
Reporter: Noam Malki
Assignee: Jesper Pedersen
Priority: Minor
Fix For: JBossAS-5.2.0.Beta1
Returning a composite value containing a Boolean and a String would be useful.
For example, when invoking a test operation it would be useful to get a String with the
specific failure message if the operation failed (please see JOPR-324).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira