Hi All,

I am trying to get my method to throw a CTS.PBUserException. When I add the
throws statement and then I try and deploy I get the following error during
deployment:

_sk_country_Market.java:203: Exception com.gtms.country.PBUserException is
never thrown in the body of the corresponding try statement.
catch (com.gtms.country.PBUserException _ue)

Here is the method code: Note that the ExceptionGenerator returns a new
CTS.PBUserException

public int retrieve (TabularResults.ResultSetHolder markets) throws
CTS.PBUserException file://%%HOWTags nosync
{
int r_value = 0;
try
{
init();
if ( _dataAccessManager == null )
{
// throw ExceptionGenerator.generate("Country <methodname> Unavailable|"
+ "dataAccessManager is NULL", "999", "0", this.getClass().toString(),
this.getClass().toString(), "update" );
}
r_value = _dataAccessManager.retrieve( markets );

}
catch( GtmsSystemException gse )
{
System.out.println( "We Threw a GtmsSystemException from the retreive
method" ) ;
throw ExceptionGenerator.generate( gse.getMessage() , "999", "0",
this.getClass().toString(), this.getClass().toString(), "retreive");
}


Does anyone know if there are problems throwing CTS.PBUserExceptions ?

TIA


Regards,

Bruce
______________________________
Global Trade Management Systems, LLC.
399 Park Avenue
37th Floor
New York, NY 10022
Office: 516-739-2424 ext 223
Fax: 914-747-1519
Email: bostrover@gtmsllc.com