Download Blaze Trial
Follow FICO
LinkedIn   Twitter   Youtube
Close To access this section, please choose the Community Neighborhood in which you have the most interest.

» Business Rules Management
» Collections & Recovery
» Fraud Management
» Risk Management
» Scoring
Close To access this section, please choose the Community Neighborhood in which you have the most interest.

» Business Rules Management
» Collections & Recovery
» Fraud Management
» Risk Management
» Scoring
Reply
Regular Visitor
yoavb
Posts: 7
Registered: ‎06-30-2011
Accepted Solution

Getting Exception message out

Hi 

I am using Blaze 6.10.2  

and I have Entrypoint that surround by try & catch 

 

How can I get the Exception message out to the user? 

Currently I have only the Exception Type as in the Catch statement  it.class.simpleName

How can I get the Actual message? 

 

The Blaze doesn't Open a intelisence on the It inside the Message.

Thanks 

Yoav

Visitor
Thulasi
Posts: 5
Registered: ‎04-26-2012

Re: Getting Exception message out

Hi,

 

Try this logic 

 

try{
// your code
}
catch an Exception with {
sup is a NdWrappedExceptionSupport .
return " Exception text:" sup.getMessage(it).

}

Valued Contributor
Posts: 71
Registered: ‎10-20-2008

Re: Getting Exception message out

Sorry for going off topic, but do you know where to find a changelog of BA .NET 6.10.1 vs 6.10.2 ? I was not aware that 6.10.2 had been released.

Regular Visitor
yoavb
Posts: 7
Registered: ‎06-30-2011

Re: Getting Exception message out

I am using java version 

sorry

Valued Contributor
Posts: 71
Registered: ‎10-20-2008

Re: Getting Exception message out

Other than the inner exception extraction trick, does anyone have suggestions for ways to debug wrapped "java.io.StreamCorruptedException" that do not have any more detailed error message than "The stream is corrupted"?

 

I assume it is related to differences in assemblies loaded in compilation vs. assemblies loaded when running the rule service, but it is very hard to debug.