- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.awt.geom.IllegalPathStateException
-
- All Implemented Interfaces:
-
Serializable
public class IllegalPathStateException extends RuntimeException
如果在相对于正在执行的特定操作处于非法状态的路径上执行操作,则IllegalPathStateException
表示抛出异常,例如在没有初始移动的情况下将路径段追加到GeneralPath
。- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 IllegalPathStateException()
构造一个没有详细消息的IllegalPathStateException
。IllegalPathStateException(String s)
构造具有指定详细消息的IllegalPathStateException
。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
IllegalPathStateException
public IllegalPathStateException()
构造一个没有详细消息的IllegalPathStateException
。- 从以下版本开始:
- 1.2
-
IllegalPathStateException
public IllegalPathStateException(String s)
构造具有指定详细消息的IllegalPathStateException
。- 参数
-
s
- 详细信息 - 从以下版本开始:
- 1.2
-
-