Class SVGGraphics2DRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.batik.svggen.SVGGraphics2DRuntimeException
All Implemented Interfaces:
Serializable

public class SVGGraphics2DRuntimeException extends RuntimeException
Thrown when an SVG Generator method receives an illegal argument in parameter.
Version:
$Id: SVGGraphics2DRuntimeException.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • embedded

      private Exception embedded
      The enclosed exception.
  • Constructor Details

    • SVGGraphics2DRuntimeException

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

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

      public SVGGraphics2DRuntimeException(String s, Exception ex)
      Constructs a new SVGGraphics2DRuntimeException 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 Exception getException()
      Returns the original enclosed exception or null if any.