|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.cau.cs.kieler.core.ui.UnsupportedPartException
public class UnsupportedPartException
Thrown when a diagram object such as an editor part or edit part is not supported. The most specific constructor takes a String as an explanation for the operation that is not supported, a reason why it is not supported and an Object, that is not supported in the context of the operation. The message will be built from these elements, which may be null.
Constructor Summary | |
---|---|
UnsupportedPartException(String message)
Constructs a KIELER exception with given message. |
|
UnsupportedPartException(String operation,
String reason,
Object notSupportedObject)
Constructs a KIELER exception with given message and cause. |
|
UnsupportedPartException(String operation,
String reason,
Object notSupportedObject,
boolean nullConsideredEvil)
Constructs a KIELER exception with given message and cause. |
|
UnsupportedPartException(String message,
Throwable cause)
Constructs a KIELER exception with given message and cause. |
Method Summary | |
---|---|
Object |
getNotSupportedObject()
|
String |
getOperation()
|
String |
getReason()
|
Methods inherited from class java.lang.Throwable |
---|
getMessage, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnsupportedPartException(String message)
message
- readable exception messagepublic UnsupportedPartException(String operation, String reason, Object notSupportedObject)
operation
- the operation that is not supportedreason
- a reason why the operation is not supportednotSupportedObject
- an object for which the operation is not supported, e.g. a wrong parameterpublic UnsupportedPartException(String operation, String reason, Object notSupportedObject, boolean nullConsideredEvil)
operation
- the operation that is not supportedreason
- a reason why the operation is not supportednotSupportedObject
- an object for which the operation is not supported, e.g. a wrong parameternullConsideredEvil
- true if a null-notSupportedObject should indicate a programming error where the
location of that error is of great importance and should be indicated in the
messagepublic UnsupportedPartException(String message, Throwable cause)
message
- readable exception messagecause
- exception that caused this exceptionMethod Detail |
---|
public Object getNotSupportedObject()
public String getOperation()
public String getReason()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |