com.aspose.html.dom.events

Class ErrorEvent.ErrorEventInit

  • All Implemented Interfaces:
    com.aspose.html.internal.ms.System.Collections.Generic.IGenericCollection<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.html.internal.ms.System.Collections.Generic.IGenericDictionary<String,Object>, com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.html.internal.ms.System.Collections.IEnumerable<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>, Iterable<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,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.html.internal.ms.System.Collections.Generic.Dictionary

        com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.Enumerator<TKey,TValue>, com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue>, com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.Link, com.aspose.html.internal.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.
      Object getError()
      The error attribute must return the value it was initialized to.
      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.
      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(Object value)
      The error attribute must return the value it was initialized to.
      void setFileName(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(String value)
      The message attribute must return the value it was initialized to.
      • Methods inherited from class com.aspose.html.internal.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
    • Constructor Detail

      • ErrorEventInit

        public ErrorEventInit()
    • Method Detail

      • getMessage

        public 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(String value)

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

        Value: The message.
      • getFileName

        public 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(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 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(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.