summaryrefslogtreecommitdiffstats
path: root/awt/java/awt/geom/IllegalPathStateException.java
diff options
context:
space:
mode:
Diffstat (limited to 'awt/java/awt/geom/IllegalPathStateException.java')
-rw-r--r--awt/java/awt/geom/IllegalPathStateException.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/awt/java/awt/geom/IllegalPathStateException.java b/awt/java/awt/geom/IllegalPathStateException.java
new file mode 100644
index 0000000..750ba29
--- /dev/null
+++ b/awt/java/awt/geom/IllegalPathStateException.java
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * @author Denis M. Kishenko
+ * @version $Revision$
+ */
+
+package java.awt.geom;
+
+/**
+ * The Class IllegalPathStateException indicates errors where the current state
+ * of a path object is incompatible with the desired action, such as performing
+ * non-trivial actions on an empty path.
+ *
+ * @since Android 1.0
+ */
+public class IllegalPathStateException extends RuntimeException {
+
+ /**
+ * The Constant serialVersionUID.
+ */
+ private static final long serialVersionUID = -5158084205220481094L;
+
+ /**
+ * Instantiates a new illegal path state exception.
+ */
+ public IllegalPathStateException() {
+ }
+
+ /**
+ * Instantiates a new illegal path state exception with the specified detail
+ * message.
+ *
+ * @param s
+ * the details of the error.
+ */
+ public IllegalPathStateException(String s) {
+ super(s);
+ }
+
+}