From: Stefan B. <Ste...@tr...> - 2003-08-11 14:52:18
|
How to convert an instance of PySyntaxError to readable text. My fist try : PySyntaxError pysyn = (PySyntaxError) error; String errMsg = exceptions.SyntaxError__str__(new PyObject[] { pysyn }, null).toString(); Failed miserably since PySyntaxError is not a PyObject ( error is some Throwable) Stefan Baramov Software Developer TRX 6 West Druid Hills Drive Atlanta, Georgia 30329 www.trx.com email: ste...@tr... office: 404-417-7197 mobile: 678-575-0933 This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. |