Class SVGGraphics2DIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.batik.svggen.SVGGraphics2DIOException
All Implemented Interfaces:
Serializable

public class SVGGraphics2DIOException extends IOException
Thrown 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:
  • Field Details

    • embedded

      private IOException embedded
      The enclosed exception.
  • Constructor Details

    • SVGGraphics2DIOException

      public SVGGraphics2DIOException(String s)
      Constructs a new SVGGraphics2DIOException with the specified detail message.
      Parameters:
      s - the detail message of this exception
    • SVGGraphics2DIOException

      public SVGGraphics2DIOException(IOException ex)
      Constructs a new SVGGraphics2DIOException with the specified detail message.
      Parameters:
      ex - the enclosed exception
    • SVGGraphics2DIOException

      public SVGGraphics2DIOException(String s, IOException ex)
      Constructs a new SVGGraphics2DIOException with the specified detail message.
      Parameters:
      s - the detail message of this exception
      ex - the original exception
  • Method Details

    • getMessage

      public 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:
      getMessage in class Throwable
    • getException

      public IOException getException()
      Returns the original enclosed exception or null if any.