Re: CheckStyle and Throws

2003-11-18 Thread Nicolas . CHALUMEAU
  ...
  * @throws NamingException
  */
  public HashMap getProfileData(
  ...)
  throws NamingException {

Its a javadoc syntaxe problem. You neeed to add the "NamingException" 
description :
  ...
  * @throws NamingException the naming exception description
  */
  public HashMap getProfileData(
  ...)
  throws NamingException {

Nicolas,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CheckStyle and Throws

2003-11-17 Thread Brian Burridge
I have @throws in my javadocs, but Checkstyle still complains about
them.

For example, the following code still gives an error on missing throws,
and it flags every single throws we have.

Brian N Burridge
IBM

/***
  * getProfileData
  *
  * @return HashMap contains the name-value pairs retrieved from the profile
  *
  * @param systemID System ID
  * @param appInstance Application Instance
  * @param dbName Database Name
  *
  * @throws NamingException
  */
  public HashMap getProfileData(
  String systemID,
  String appInstance,
  String dbName)
  throws NamingException {
  HashMap profile;
  Connection connection = null;

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Checkstyle and throws

2003-11-17 Thread Brian Burridge
  /***
63  * getProfileData
64  * Gets the profile data like accounting server url, userid,
passwd..etc
65  * from the database by calling the stored procedure and copies
the data in
66  * to a hashmap
67  *
68  * @return HashMap contains the name-value pairs retrieved from
the profile
69  *
70  * @param systemID System ID
71  * @param appInstance Application Instance
72  * @param dbName Database Name
73  *
74  * @throws NamingException
75  * @throws SQLException
76  */
77  public HashMap getProfileData(
78  String systemID,
79  String appInstance,
80  String dbName)
81  throws NamingException, SQLException {
82  HashMap profile;
83  Connection connection = null;

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]