Class DMLScriptException

  • All Implemented Interfaces:
    Serializable

    public class DMLScriptException
    extends DMLRuntimeException
    This exception should be thrown to flag DML Script errors, this exception is reserved for the stop instruction and script related errors that an end-user should be able to address
    See Also:
    Serialized Form
    • Constructor Detail

      • DMLScriptException

        public DMLScriptException​(String msg)
        Construct a DML script exception, this exception is reserved for the stop instruction and script related errors that an end-user should be able to address The DMLScrip exception is intended not to be able to throw other exceptions on. Therefore, there is only one constructor.
        Parameters:
        msg - message