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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.