View Javadoc

1   /**
2    * 
3    */
4   
5   package math.geom2d;
6   
7   /**
8    * @author dlegland
9    */
10  public class UnboundedShapeException extends RuntimeException {
11  
12  	private Shape2D shape;
13  	
14      /**
15       * 
16       */
17      private static final long serialVersionUID = 1L;
18  
19      /**
20       * @deprecated: use constructor with a shape instead (0.8.1)
21       */
22      @Deprecated
23      public UnboundedShapeException() {
24      	this.shape = null;
25      }
26      
27      public UnboundedShapeException(Shape2D shape) {
28      	this.shape = shape;
29      }
30  
31      public Shape2D getShape() {
32      	return shape;
33      }
34  }