Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Catching TransformationException
[ATL] Catching TransformationException [message #63422] Thu, 04 October 2007 18:19 Go to next message
Eclipse UserFriend
Originally posted by: rb_account.yahoo.de

Hello,

I launch my transformations programmatically within my own eclipse plugin.
When the transformation fails, the exception is printed on the console.
Is there a possiblity to catch the exception like:

try {
ATLLauncher.launch(...)
catch (Exception e) {
//....
}

Thanks

Rainer
Re: [ATL] Catching TransformationException [message #63610 is a reply to message #63422] Sat, 06 October 2007 16:40 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

The Debugger interface may be used to capture errors and report them.
See the ATL developer documentation for more information:
http://wiki.eclipse.org/ATL_Developer_Doc#Debugger

Regards,

Frédéric Jouault


Rainer Bernhard wrote:
> Hello,
>
> I launch my transformations programmatically within my own eclipse
> plugin. When the transformation fails, the exception is printed on the
> console.
> Is there a possiblity to catch the exception like:
>
> try {
> ATLLauncher.launch(...)
> catch (Exception e) {
> //....
> }
>
> Thanks
>
> Rainer
Re: [ATL] Catching TransformationException [message #64076 is a reply to message #63610] Mon, 15 October 2007 17:23 Go to previous message
Eclipse UserFriend
Originally posted by: rb_account.yahoo.de

Great. I just implemented the Debugger Interface and used the error-Method
to create my own handling.
It works fine.

Thanks for your help.

Rainer

> Hello,
>
> The Debugger interface may be used to capture errors and report them.
> See the ATL developer documentation for more information:
> http://wiki.eclipse.org/ATL_Developer_Doc#Debugger
>
> Regards,
>
> Frédéric Jouault
>
>
> Rainer Bernhard wrote:
>> Hello,
>> I launch my transformations programmatically within my own eclipse
>> plugin. When the transformation fails, the exception is printed on the
>> console.
>> Is there a possiblity to catch the exception like:
>> try {
>> ATLLauncher.launch(...)
>> catch (Exception e) {
>> //....
>> }
>> Thanks
>> Rainer



--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Previous Topic:antlr/TokenStream error
Next Topic:Toolset for the modelling\animation of electronic messages
Goto Forum:
  


Current Time: Thu Apr 25 12:43:47 GMT 2024

Powered by FUDForum. Page generated in 0.03116 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top