@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.
Exception
,
Serialized FormModifier 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 and Description |
---|
SVGException(int code)
Initializes a new instance of the
SVGException class. |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
A code identifying the reason why the requested operation could not be performed.
|
getHResult, getInnerException, getType, setErrorCode, setHResult, toString
@DOMNameAttribute(name="SVG_WRONG_TYPE_ERR") public static final int SVG_WRONG_TYPE_ERR
Raised when an object of the wrong type is passed to an operation.
@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.
@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.
public SVGException(int code)
Initializes a new instance of the SVGException
class.
code
- The error code.@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.