Exceptions
Almost every Creo Object TOOLKIT C++ method can throw an exception of type jxthrowable. Surround each method you use with a xcatchbegin-try-xcatch-xcatchend block to handle any exceptions that are generated. See the Exceptions section for more information.