Package org.apache.batik.svggen
Class SVGGraphics2DIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.batik.svggen.SVGGraphics2DIOException
- All Implemented Interfaces:
Serializable
Thrown when an SVG Generator method receives an illegal argument in parameter.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newSVGGraphics2DIOException
with the specified detail message.Constructs a newSVGGraphics2DIOException
with the specified detail message.Constructs a newSVGGraphics2DIOException
with 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SVGGraphics2DIOException
Constructs a newSVGGraphics2DIOException
with the specified detail message.- Parameters:
s
- the detail message of this exception
-
SVGGraphics2DIOException
Constructs a newSVGGraphics2DIOException
with the specified detail message.- Parameters:
ex
- the enclosed exception
-
SVGGraphics2DIOException
Constructs a newSVGGraphics2DIOException
with the specified detail message.- Parameters:
s
- the detail message of this exceptionex
- the original exception
-
-
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:
getMessage
in classThrowable
-
getException
Returns the original enclosed exception or null if any.
-