Class ImportException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
All Implemented Interfaces:

public class ImportException
extends java.lang.Exception

This exception is thrown by the importProcessDefinitions method of ProcessDefinitionDirectory and results from collected errors.

See Also:
Serialized Form

Field Summary
Fields inherited from class java.lang.Exception
Constructor Summary
ImportException(java.lang.String msg, java.util.List prioritizedMessages)
          Construct a ImportException from a collecting error handler.
Method Summary
 java.util.List messages()
          Return all messages, i.e. warnings, errors and fatal errors.
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 ImportException(java.lang.String msg,
                       java.util.List prioritizedMessages)
Construct a ImportException from a collecting error handler. The warnings, errors, fatal error of the Exception are taken from the error handler.

msg - the main message of the exception.
prioritizedMessages - the given prioritized messages.
Method Detail


public java.util.List messages()
Return all messages, i.e. warnings, errors and fatal errors. The value returned is a list of PrioritizedMessage.

list with error messages (may be empty).