psdi.dm.pkg

Class DMError

    • Constructor Detail

      • DMError

        public DMError(MboSet ms)
                throws java.rmi.RemoteException
        Constructor
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setMessage

        public void setMessage(java.lang.Throwable t)
                        throws MXException,
                               java.rmi.RemoteException
        Sets the MSG & MSGDetails attributes from the exception given. The MSG gets the exception's message and MSGDetails get the stack trace.
        Parameters:
        t - The exception used to fill MSG & MSGDetails.
        Throws:
        MXException
        java.rmi.RemoteException
      • setXML

        public void setXML(byte[] xml)
                    throws MXException,
                           java.rmi.RemoteException
        Sets the ErrorData & OrigErrorData attributes using the complete XML document and the record number.
        Parameters:
        xml - The complete XML text in a byte array.
        Throws:
        MXException
        java.rmi.RemoteException