com.aspose.html.dom.events

Class ErrorEvent.ErrorEventInit

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.Object>>, com.aspose.ms.System.Collections.Generic.IGenericDictionary<java.lang.String,java.lang.Object>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.Object>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.Object>>, java.lang.Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.Object>>
    Enclosing class:
    ErrorEvent


    public static class ErrorEvent.ErrorEventInit
    extends Event.EventInit

    Represents a dictionary that is having optional arguments for setting the details information about the event.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Collections.Generic.Dictionary

        com.aspose.ms.System.Collections.Generic.Dictionary.Enumerator<TKey,TValue>, com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue>, com.aspose.ms.System.Collections.Generic.Dictionary.Link, com.aspose.ms.System.Collections.Generic.Dictionary.ValueCollection<TKey,TValue>
    • Constructor Summary

      Constructors 
      Constructor and Description
      ErrorEventInit() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      long getColNo()
      The colno attribute must return the value it was initialized to.
      java.lang.Object getError()
      The error attribute must return the value it was initialized to.
      java.lang.String getFileName()
      The filename attribute must return the value it was initialized to.
      long getLineNo()
      The lineno attribute must return the value it was initialized to.
      java.lang.String getMessage()
      The message attribute must return the value it was initialized to.
      void setColNo(long value)
      The colno attribute must return the value it was initialized to.
      void setError(java.lang.Object value)
      The error attribute must return the value it was initialized to.
      void setFileName(java.lang.String value)
      The filename attribute must return the value it was initialized to.
      void setLineNo(long value)
      The lineno attribute must return the value it was initialized to.
      void setMessage(java.lang.String value)
      The message attribute must return the value it was initialized to.
      • Methods inherited from class com.aspose.ms.System.Collections.Generic.Dictionary

        addItem, addItem, clear, containsItem, containsKey, containsValue, copyTo, copyToTArray, get_Item, getComparer, getDictionaryEntryEnumerator, getKeys, getSyncRoot, getValues, isFixedSize, isReadOnly, isSynchronized, iterator, removeItem, removeItemByKey, set_Item, size, tryGetValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • ErrorEventInit

        public ErrorEventInit()
    • Method Detail

      • getMessage

        public java.lang.String getMessage()

        The message attribute must return the value it was initialized to. It represents the error message.

        Value: The message.
      • setMessage

        public void setMessage(java.lang.String value)

        The message attribute must return the value it was initialized to. It represents the error message.

        Value: The message.
      • getFileName

        public java.lang.String getFileName()

        The filename attribute must return the value it was initialized to. It represents the URL of the script in which the error originally occurred.

        Value: The name of the file.
      • setFileName

        public void setFileName(java.lang.String value)

        The filename attribute must return the value it was initialized to. It represents the URL of the script in which the error originally occurred.

        Value: The name of the file.
      • getLineNo

        public long getLineNo()

        The lineno attribute must return the value it was initialized to. It represents the line number where the error occurred in the script.

        Value: The line no.
      • setLineNo

        public void setLineNo(long value)

        The lineno attribute must return the value it was initialized to. It represents the line number where the error occurred in the script.

        Value: The line no.
      • getColNo

        public long getColNo()

        The colno attribute must return the value it was initialized to. It represents the column number where the error occurred in the script.

        Value: The col no.
      • setColNo

        public void setColNo(long value)

        The colno attribute must return the value it was initialized to. It represents the column number where the error occurred in the script.

        Value: The col no.
      • getError

        public java.lang.Object getError()

        The error attribute must return the value it was initialized to. Where appropriate, it is set to the object representing the error (e.g., the exception object in the case of an uncaught DOM exception).

        Value: The error.
      • setError

        public void setError(java.lang.Object value)

        The error attribute must return the value it was initialized to. Where appropriate, it is set to the object representing the error (e.g., the exception object in the case of an uncaught DOM exception).

        Value: The error.