Class SVGGraphics2DRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.batik.svggen.SVGGraphics2DRuntimeException
- All Implemented Interfaces:
Serializable
Thrown when an SVG Generator method receives an illegal argument in parameter.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newSVGGraphics2DRuntimeExceptionwith the specified detail message.Constructs a newSVGGraphics2DRuntimeExceptionwith the specified detail message.Constructs a newSVGGraphics2DRuntimeExceptionwith the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the original enclosed exception or null if any.Returns the message of this exception.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SVGGraphics2DRuntimeException
Constructs a newSVGGraphics2DRuntimeExceptionwith the specified detail message.- Parameters:
s- the detail message of this exception
-
SVGGraphics2DRuntimeException
Constructs a newSVGGraphics2DRuntimeExceptionwith the specified detail message.- Parameters:
ex- the enclosed exception
-
SVGGraphics2DRuntimeException
-
-
Method Details
-
getMessage
Returns the message of this exception. If an error message has been specified, returns that one. Otherwise, return the error message of enclosed exception or null if any.- Overrides:
getMessagein classThrowable
-
getException
Returns the original enclosed exception or null if any.
-