Developing Apama Applications > Developing Apama Applications in EPL > EPL Methods Quick Reference > StackTraceElement methods
StackTraceElement methods
com.apama.exceptions.StackTraceElement
Method
Result
getActionName()
Returns a string that contains the name of the action in which the exception occurred.
getFilename()
Returns a string that contains the name of the file that contains the code in which the exception occurred.
getLineNumber()
Returns an integer that indicates the line number of the code in which the exception occurred.
getTypeName()
Returns a string that indicates the type (event, aggregate, monitor) that contains the action in which the exception occurred..
toString()
Returns a string whose format is "typeName.actionName() filename:linenumber".
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.