|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
be.ac.vub.cocompose.lang.ModelElementException
Exceptions that have a CoCompose language element as their subject.
Constructor Summary | |
ModelElementException(Exception exception)
Creates a ModelElementException. |
|
ModelElementException(Exception exception,
ModelElement subject)
Creates a ModelElementException. |
|
ModelElementException(Exception exception,
ModelElement subject,
int type)
Creates a ModelElementException. |
|
ModelElementException(ModelElementException exception)
Creates a ModelElementException. |
|
ModelElementException(String message)
Creates a ModelElementException. |
|
ModelElementException(String message,
ModelElement subject)
Creates a ModelElementException. |
|
ModelElementException(String message,
ModelElement subject,
int type)
Creates a ModelElementException. |
Method Summary | |
ModelElement |
getSubject()
Gets the exception subject element. |
int |
getType()
Gets the exception type (error, warning, info) |
void |
setSubject(ModelElement subject)
Sets the exception subject. |
void |
setType(int type)
Sets the exception type (error, warning, info). |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ModelElementException(String message, ModelElement subject, int type)
message
- the exception messagesubject
- the subject of the exceptiontype
- the exception type (error, warning, info)Log
public ModelElementException(String message, ModelElement subject)
message
- the exception messagesubject
- the subject of the exceptionpublic ModelElementException(String message)
message
- the exception messagepublic ModelElementException(Exception exception)
exception
- embedded exception to pass onpublic ModelElementException(Exception exception, ModelElement subject)
exception
- embedded exception to pass onsubject
- the subject of the exceptionpublic ModelElementException(Exception exception, ModelElement subject, int type)
exception
- embedded exception to pass onsubject
- the subject of the exceptiontype
- the exception type (error, warning, info)public ModelElementException(ModelElementException exception)
exception
- embedded exception to pass onMethod Detail |
public ModelElement getSubject()
public void setSubject(ModelElement subject)
subject
- the exception subject.public int getType()
public void setType(int type)
type
- the exception type.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |