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.
See Also:
  • 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.