PetscErrorCode PetscExceptionTry1(PetscErrorCode routine(....),PetscErrorCode);
No Fortran Equivalent (see PetscExceptionPush() for Fortran)
Note: In general, the outer most try on an exception is the one that will be caught (that is trys down in PETSc code will not usually handle an exception that was issued above). See SNESSolve() for an example of how the local try is ignored if a higher (in the stack) one is also in effect.
Level:advanced
Location:src/sys/error/../../../include/petscerror.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages