Package com.saxonica.ee.bytecode.util
Class MessageFromStack
- java.lang.Object
-
- com.saxonica.ee.bytecode.util.MessageFromStack
-
- All Implemented Interfaces:
MessageBuilder
public class MessageFromStack extends java.lang.Object implements MessageBuilder
Helper class to generate a run-time exception using a message that is present at the top of the bytecode stack
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateErrorMessage()
Generate code to construct the error message and leave it on the run-time stackstatic MessageFromStack
getInstance()
-
-
-
Method Detail
-
getInstance
public static MessageFromStack getInstance()
-
generateErrorMessage
public void generateErrorMessage()
Description copied from interface:MessageBuilder
Generate code to construct the error message and leave it on the run-time stack- Specified by:
generateErrorMessage
in interfaceMessageBuilder
-
-