public class IllegalOperationException
extends java.lang.RuntimeException
IllegalOperationException
is used when an illegal operation is performed for example on a not existent node.
IllegalOperationException
is a subclass of RuntimeException
so you can avoid to catch them.
Constructor and Description |
---|
IllegalOperationException()
Default constructor.
|
IllegalOperationException(java.lang.String message)
Create a new
IllegalOperationException with the specified message. |
IllegalOperationException(java.lang.String message,
java.lang.Throwable cause)
Create a new
IllegalOperationException with the specified message and generated by the specified cause. |
IllegalOperationException(java.lang.Throwable cause)
Create a new
IllegalOperationException generated by the specified cause. |
public IllegalOperationException()
public IllegalOperationException(java.lang.String message)
IllegalOperationException
with the specified message.message
- the message to displaypublic IllegalOperationException(java.lang.Throwable cause)
IllegalOperationException
generated by the specified cause.cause
- the initial cause of the exceptionpublic IllegalOperationException(java.lang.String message, java.lang.Throwable cause)
IllegalOperationException
with the specified message and generated by the specified cause.message
- the message to displaycause
- the initial cause of the exception