org.jbpm
Class JpdlException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jbpm.JpdlException
All Implemented Interfaces:
java.io.Serializable

public class JpdlException
extends java.lang.Exception

is the checked exception that is thrown at deployment-time when a process archive is not compliant as specified in the jBpm Process Defintition Language (jPdl). A JpdlException tries to collect as many error messages in one parsing or validation, analogue to a compiler. This allows a process developer to correct more then one problem before redeploying the process archive. Get the error messages with errors().

See Also:
http://jbpm.org/jpdl.html, Serialized Form

Constructor Summary
JpdlException(java.util.List errors)
           
JpdlException(java.lang.String msg)
           
 
Method Summary
 java.util.List 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

JpdlException

public JpdlException(java.lang.String msg)

JpdlException

public JpdlException(java.util.List errors)
Method Detail

errors

public java.util.List errors()


Version : jbpm-2.0