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:
java.io.Serializable
public class SVGGraphics2DIOException extends java.io.IOExceptionThrown when an SVG Generator method receives an illegal argument in parameter.- Version:
- $Id: SVGGraphics2DIOException.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.IOExceptionembeddedThe enclosed exception.
-
Constructor Summary
Constructors Constructor Description SVGGraphics2DIOException(java.io.IOException ex)Constructs a newSVGGraphics2DIOExceptionwith the specified detail message.SVGGraphics2DIOException(java.lang.String s)Constructs a newSVGGraphics2DIOExceptionwith the specified detail message.SVGGraphics2DIOException(java.lang.String s, java.io.IOException ex)Constructs a newSVGGraphics2DIOExceptionwith the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.IOExceptiongetException()Returns the original enclosed exception or null if any.java.lang.StringgetMessage()Returns the message of this exception.
-
-
-
Constructor Detail
-
SVGGraphics2DIOException
public SVGGraphics2DIOException(java.lang.String s)
Constructs a newSVGGraphics2DIOExceptionwith the specified detail message.- Parameters:
s- the detail message of this exception
-
SVGGraphics2DIOException
public SVGGraphics2DIOException(java.io.IOException ex)
Constructs a newSVGGraphics2DIOExceptionwith the specified detail message.- Parameters:
ex- the enclosed exception
-
SVGGraphics2DIOException
public SVGGraphics2DIOException(java.lang.String s, java.io.IOException ex)Constructs a newSVGGraphics2DIOExceptionwith the specified detail message.- Parameters:
s- the detail message of this exceptionex- the original exception
-
-
Method Detail
-
getMessage
public java.lang.String 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 classjava.lang.Throwable
-
getException
public java.io.IOException getException()
Returns the original enclosed exception or null if any.
-
-