Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Mesh Error Exception handling
Posted 2015年9月23日 GMT-4 08:20 Simulation Apps, Mesh Version 4.4, Version 5.0, Version 5.1 1 Reply
Please login with a confirmed email address before reporting spam
Hello Colleauges,
I am working on creating a routine in java, which will attempt to create a mesh for each instance of a parameter defined within a sweep before the solution is computed. Last thing we want to experience is a crash of some job only due to something we could have checked earlier, don't we?
I know this can be done in java using try-catch statements, but in contrary to MATLAB, java would like to know what sort of exception it is supposed to react to:
try
{
doMesh();
}
catch(ExceptionType err)
{
trySomethingDifferent();
}
Could you tell me what exception I should expect?
I am sending an attachment that shows a typical message after builing mesh has failed.
Thank you very much for your help!
Kind Regards
Oleg
I am working on creating a routine in java, which will attempt to create a mesh for each instance of a parameter defined within a sweep before the solution is computed. Last thing we want to experience is a crash of some job only due to something we could have checked earlier, don't we?
I know this can be done in java using try-catch statements, but in contrary to MATLAB, java would like to know what sort of exception it is supposed to react to:
try
{
doMesh();
}
catch(ExceptionType err)
{
trySomethingDifferent();
}
Could you tell me what exception I should expect?
I am sending an attachment that shows a typical message after builing mesh has failed.
Thank you very much for your help!
Kind Regards
Oleg
Attachments:
1 Reply Last Post 2015年9月23日 GMT-4 08:48