ilog.rules.dvs.excel.migration

Class IlrError

  • java.lang.Object
    • ilog.rules.dvs.excel.migration.IlrError


  • public class IlrError
    extends java.lang.Object
    An error message occurring during the conversion process.
    See Also:
    IlrBOM2DVSConverter
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrError(java.lang.String message, java.lang.String id)
      Constructor.
      IlrError(java.lang.String message, java.lang.String id, java.lang.Exception sourceException)
      Constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getId()
      Returns the special label attached to this error message.
      java.lang.String getMessage()
      Returns the message of this error.
      java.lang.Exception getSourceException()
      Returns the exception attached to this error.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IlrError

        public IlrError(java.lang.String message,
                java.lang.String id)
        Constructor.
        Parameters:
        message - The error message.
        id - A special label to attach to the error message.
      • IlrError

        public IlrError(java.lang.String message,
                java.lang.String id,
                java.lang.Exception sourceException)
        Constructor.
        Parameters:
        message - The error message.
        id - A special label to attach to the error message.
        sourceException - An exception attached to this error.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns the message of this error.
        Returns:
        The message of this error.
      • getId

        public java.lang.String getId()
        Returns the special label attached to this error message. It could be the name of the error group or the error ID. This label will be used during the display process of this error as follows:
        {id}: {message}
        .
        Returns:
        The special label attached to this error message.
      • getSourceException

        public java.lang.Exception getSourceException()
        Returns the exception attached to this error.
        Returns:
        The exception attached to this error.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()

© Copyright IBM Corp. 1987, 2017