com.ibm.broker.config.appdev.nodes

Class ThrowNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class ThrowNode
    extends Node

    ThrowNode instance

    Throw node throws an exception within a message flow

     Change Activity:
     -------- ----------- -------------   ------------------------------------
     Reason:  Date:       Originator:     Comments:
     -------- ----------- -------------   ------------------------------------
     xxxxx.x  2010-08-10  dstorey         creation
     xxxxx.x  xxxx-xx-xx  generated       7.0.0.2 Release
     
    See Also:
    Serialized Form
    • Field Detail

      • INPUT_TERMINAL_IN

        public final InputTerminal INPUT_TERMINAL_IN
    • Constructor Detail

      • ThrowNode

        public ThrowNode()
    • Method Detail

      • getInputTerminals

        public InputTerminal[] getInputTerminals()
        Description copied from class: Node
        Gets the full list of available InputTerminals for this Node
        Specified by:
        getInputTerminals in class Node
        Returns:
        InputTerminal[]
      • getOutputTerminals

        public OutputTerminal[] getOutputTerminals()
        Description copied from class: Node
        Gets the full list of available OutputTerminals for this Node
        Specified by:
        getOutputTerminals in class Node
        Returns:
        OutputTerminal[]
      • getTypeName

        public java.lang.String getTypeName()
        Description copied from class: Node
        Gets the node type of this node
        Specified by:
        getTypeName in class Node
        Returns:
        String; the node type
      • setMessageCatalog

        public ThrowNode setMessageCatalog(java.lang.String value)
        Set the ThrowNode "Message catalog" property
        Parameters:
        value - String ; the value to set the property "Message catalog"
      • getMessageCatalog

        public java.lang.String getMessageCatalog()
        Get the ThrowNode "Message catalog" property
        Returns:
        String; the value of the property "Message catalog"
      • setMessageNumber

        public ThrowNode setMessageNumber(int value)
        Set the ThrowNode "Message number" property
        Parameters:
        value - int ; the value to set the property "Message number"
      • getMessageNumber

        public int getMessageNumber()
        Get the ThrowNode Message number property
        Returns:
        int; the value of the property "Message number"
      • setMessageText

        public ThrowNode setMessageText(java.lang.String value)
        Set the ThrowNode "Message text" property
        Parameters:
        value - String ; the value to set the property "Message text"
      • getMessageText

        public java.lang.String getMessageText()
        Get the ThrowNode "Message text" property
        Returns:
        String; the value of the property "Message text"
      • getNodeName

        public java.lang.String getNodeName()
        Description copied from class: Node
        Gets the label name of this node
          MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "mf1.msgflow");
          Node inputMQNode = mf1.getNodeByName("My Input Node");
          inputMQNode.setNodeName("Renamed Input Node");
         
        Overrides:
        getNodeName in class Node
        Returns:
        String; the node name