convexhullexception.java
来自「一个用于排队系统仿真的开源软件,有非常形象的图象仿真过程!」· Java 代码 · 共 44 行
JAVA
44 行
// Copyright (C) Chris Pudney, The University of Western Australia, 1998.
// All rights reserved.
//
// Permission to use, copy, modify and distribute this software and its
// documentation only for the purposes of teaching and research is hereby
// granted without fee, provided that the above copyright notice and this
// permission notice appear in all copies of this software/documentation
// and that you do not sell the software. No commercial use or
// distribution of the software is permitted without the consent of the
// copyright owners. Commercial licensing is available by contacting the
// author(s).
//
// THIS SOFTWARE/DOCUMENTATION IS PROVIDED WITH NO WARRANTY, EXPRESS OR
// IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTY OF MERCHANTABILITY OR
// FITNESS FOR A PARTICULAR PURPOSE.
package jmt.engine.jaba.Hull;
/**
* A class representing exceptions during construction of a convex hull.
* These can occur for example when all vertices are coplanar.
*
* @author Chris Pudney <mailto:cpudney@alphapharm.pharm.uwa.edu.au>
* @see ConvexHull
*/
public class ConvexHullException extends Exception
{
/**
* Construct a convex hull exception.
*/
public ConvexHullException()
{
super();
}
/**
* Construct a convex hull exception with a message.
*
* @param s a descriptive error message
*/
public ConvexHullException(String s)
{
super(s);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?