Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

What is "Syntax err:9999" mean?

$
0
0

 

 

 

 

 

public

 

 

 

class

AAClass1

{

 

 

 

staticpublicvoid

main(Args _args)

{

AAClass1 events =

 

 

new

AAClass1();

events.run();

}

 

 

 

 

publicvoid

run()

{

System.Exception exception;

XppPrePostArgs args =

 

 

new

XppPrePostArgs();

Args.setArg(

 

 

"string", "This is a test string"

);

 

 

 

setPrefix("Managed Handler Tests"

);

 

 

 

try

{

this.AADelegate1(this, Args);

}

 

 

 

catch

(Exception::CLRError)

{

exception = CLRInterop::getLastException();

 

 

 

while(exception.get_InnerException() != null

)

{

exception = exception.get_InnerException();

}

error(

 

 

strFmt("Runtime CLR error: %1"

, CLRInterop::getAnyTypeForObject(exception.get_Message())));

}

 

 

 

catch

{

error(

 

 

"Runtime error"

);


Viewing all articles
Browse latest Browse all 17532