56 lines
1.7 KiB
Java
56 lines
1.7 KiB
Java
/*
|
|
* 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);
|
|
}
|
|
|
|
}
|