public static enum SVGException.Reason extends Enum<SVGException.Reason>
| Enum Constant and Description |
|---|
FAILED_TO_CREATE_ATTRIBUTE_TYPE
Meaning that a
SVGAttributeType could not be created. |
FAILED_TO_GET_RESULT
Meaning the
SVGElementBase.getResult() failed for any reason. |
FAILED_TO_PARSE_IRI
Meaning that a
String that could be an Constants.IRI_IDENTIFIER to another element could not be parsed. |
INVALID_COLOR_FORMAT
Meaning the text that is used to create a
Color is invalid. |
INVALID_CSS_STYLE
Meaning that a text that describes a css style is invalid and can not be parsed.
|
INVALID_CYCLE_METHOD
Meaning that the text that should represent a
CycleMethodMapping is not valid. |
INVALID_FILL_RULE
Meaning that the text that should represent a
FillRuleMapping is not valid. |
INVALID_GRADIENT_UNIT_FORMAT
Meaning that the text that should represent a
GradientUnit is not valid. |
INVALID_IRI_IDENTIFIER
Meaning that a
String was parsed that was not actually an Constants.IRI_IDENTIFIER. |
INVALID_MATRIX_NUMBER_OF_ELEMENTS_DOES_NOT_MATCH
Meaning that the
Transform could not be created due to a problem with the matrix, having not enough elements |
INVALID_NUMBER_FORMAT
Meaning that a
String that represents a numeric value could not be parsed into its numeric counterpart. |
INVALID_PATH_COMMAND_NUMBER_OF_ELEMENTS_DOES_NOT_MATCH
Meaning that a path command could not be created because the number of elements in the path was not correct.
|
INVALID_POINT_FORMAT
Meaning that during the creation of a
SVGAttributeTypePoint, the point format was not as expected. |
INVALID_RECTANGLE_FORMAT
Meaning that during the creation of a
SVGAttributeTypeRectangle, the text that was used did not provide the required information. |
INVALID_STROKE_LINE_CAP
Meaning the value that should represent a valid
StrokeLineCap can not be converted into it. |
INVALID_STROKE_LINE_JOIN
Meaning the value that should represent a valid
StrokeLineJoin can not be converted into it. |
INVALID_STROKE_TYPE
Meaning the value that should represent a valid
StrokeType can not be converted into it. |
MISSING_ATTRIBUTE
Meaning a
SVGAttributeType that was required was not found. |
MISSING_COLOR
Meaning that a
Color could not be created/found even though it was required. |
MISSING_ELEMENT
Meaning that a
String is an Constants.IRI_IDENTIFIER that could not be found. |
MISSING_STOPS
Meaning that an
SVGGradientBase does not contain SVGStops. |
MISSING_STYLE
Meaning that a
SVGStyle was referenced but was not found. |
NULL_ARGUMENT
Meaning that an argument was transmitted that was null but should have not been.
|
UNKNOWN
Meaning the reason for the exception is unknown, this may be the result of another exception being thrown.
|
| Modifier and Type | Method and Description |
|---|---|
static SVGException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SVGException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SVGException.Reason UNKNOWN
public static final SVGException.Reason NULL_ARGUMENT
public static final SVGException.Reason MISSING_STYLE
SVGStyle was referenced but was not found.public static final SVGException.Reason MISSING_ELEMENT
String is an Constants.IRI_IDENTIFIER that could not be found.public static final SVGException.Reason MISSING_COLOR
Color could not be created/found even though it was required.public static final SVGException.Reason MISSING_STOPS
SVGGradientBase does not contain SVGStops.public static final SVGException.Reason MISSING_ATTRIBUTE
SVGAttributeType that was required was not found.public static final SVGException.Reason INVALID_POINT_FORMAT
SVGAttributeTypePoint, the point format was not as expected.public static final SVGException.Reason INVALID_COLOR_FORMAT
Color is invalid.public static final SVGException.Reason INVALID_GRADIENT_UNIT_FORMAT
GradientUnit is not valid.public static final SVGException.Reason INVALID_CYCLE_METHOD
CycleMethodMapping is not valid.public static final SVGException.Reason INVALID_FILL_RULE
FillRuleMapping is not valid.public static final SVGException.Reason INVALID_RECTANGLE_FORMAT
SVGAttributeTypeRectangle, the text that was used did not provide the required information.public static final SVGException.Reason INVALID_IRI_IDENTIFIER
String was parsed that was not actually an Constants.IRI_IDENTIFIER.public static final SVGException.Reason INVALID_CSS_STYLE
public static final SVGException.Reason INVALID_NUMBER_FORMAT
String that represents a numeric value could not be parsed into its numeric counterpart.public static final SVGException.Reason INVALID_MATRIX_NUMBER_OF_ELEMENTS_DOES_NOT_MATCH
Transform could not be created due to a problem with the matrix, having not enough elementspublic static final SVGException.Reason INVALID_PATH_COMMAND_NUMBER_OF_ELEMENTS_DOES_NOT_MATCH
public static final SVGException.Reason INVALID_STROKE_LINE_CAP
StrokeLineCap can not be converted into it.public static final SVGException.Reason INVALID_STROKE_LINE_JOIN
StrokeLineJoin can not be converted into it.public static final SVGException.Reason INVALID_STROKE_TYPE
StrokeType can not be converted into it.public static final SVGException.Reason FAILED_TO_PARSE_IRI
String that could be an Constants.IRI_IDENTIFIER to another element could not be parsed.public static final SVGException.Reason FAILED_TO_GET_RESULT
SVGElementBase.getResult() failed for any reason.public static final SVGException.Reason FAILED_TO_CREATE_ATTRIBUTE_TYPE
SVGAttributeType could not be created.public static SVGException.Reason[] values()
for (SVGException.Reason c : SVGException.Reason.values()) System.out.println(c);
public static SVGException.Reason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Saxonia Systems AG. All rights reserved.