com.aspose.html.dom.svg

Class SVGException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.aspose.ms.System.Exception
            • com.aspose.html.dom.svg.SVGException
  • All Implemented Interfaces:
    java.io.Serializable


    @DOMObjectAttribute
     @DOMNameAttribute(name="SVGException")
    public class SVGException
    extends com.aspose.ms.System.Exception

    This exception is raised when a specific SVG operation is impossible to perform.

    See Also:
    Exception, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int SVG_INVALID_VALUE_ERR
      Raised when an invalid value is passed to an operation or assigned to an attribute.
      static int SVG_MATRIX_NOT_INVERTABLE
      Raised when an attempt is made to invert a matrix that is not invertible.
      static int SVG_WRONG_TYPE_ERR
      Raised when an object of the wrong type is passed to an operation.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SVGException(int code)
      Initializes a new instance of the SVGException class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getCode()
      A code identifying the reason why the requested operation could not be performed.
      • Methods inherited from class com.aspose.ms.System.Exception

        getHResult, getInnerException, getType, setErrorCode, setHResult, toString
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

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

      • SVG_INVALID_VALUE_ERR

        @DOMNameAttribute(name="SVG_INVALID_VALUE_ERR")
        public static final int SVG_INVALID_VALUE_ERR

        Raised when an invalid value is passed to an operation or assigned to an attribute.

        See Also:
        Constant Field Values
      • SVG_MATRIX_NOT_INVERTABLE

        @DOMNameAttribute(name="SVG_MATRIX_NOT_INVERTABLE")
        public static final int SVG_MATRIX_NOT_INVERTABLE

        Raised when an attempt is made to invert a matrix that is not invertible.

        See Also:
        Constant Field Values
    • Constructor Detail

      • SVGException

        public SVGException(int code)

        Initializes a new instance of the SVGException class.

        Parameters:
        code - The error code.
    • Method Detail

      • getCode

        @DOMNameAttribute(name="code")
        public int getCode()

        A code identifying the reason why the requested operation could not be performed. The value of this member will be one of the constants in the SVGException code group.

        Value: The error code.