|
|||||||||
| 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
org.eclipse.stardust.common.error.ApplicationException
org.eclipse.stardust.common.error.PublicException
org.eclipse.stardust.common.error.ValidationException
public class ValidationException
Thrown to indicate that validation of a model element has failed.
| Constructor Summary | |
|---|---|
ValidationException(String summary,
boolean canClose)
Creates a new exception instance with the specified detail message. |
|
ValidationException(String summary,
Collection messages,
boolean canClose)
Creates a new exception instance with the specified detail message. |
|
| Method Summary | |
|---|---|
boolean |
canClose()
Returns if displayed deployment validation messages can be closed. |
Collection |
getMessages()
Returns all validation messages for this validation exception. |
| Methods inherited from class org.eclipse.stardust.common.error.ApplicationException |
|---|
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundle |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationException(String summary,
boolean canClose)
summary - The detail message describing the error condition.canClose - Flag if displayed deployment warnings can be closed.
public ValidationException(String summary,
Collection messages,
boolean canClose)
summary - The detail message describing the error condition.messages - All validation messages for this validation exception.canClose - Flag if displayed deployment warnings can be closed.| Method Detail |
|---|
public Collection getMessages()
public boolean canClose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||