Developing Apama Applications > Developing Apama Applications in EPL > EPL Methods Quick Reference > Exception methods
Exception methods
com.apama.exceptions.Exception
Method
Result
getMessage()
Returns a string that contains the exception message.
getStackTrace()
Returns a sequence of StackTraceElement objects that represent the stack trace for when the exception was first thrown.
getType()
Returns a string that contains the exception type.
toString()
Returns a string that contains the exception message and the exception type.
toStringWithStackTrace()
Returns a string that contains the exception message, the exception type, and the stack trace elements.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.