Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.definition
Class JpdlException  view JpdlException download JpdlException.java

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

public class JpdlException
extends java.lang.Exception

is the checked exception that is thrown 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. Each message is optionally composed of a list of sub-messages separated by colons ':'. The sub-messages are ordered from general to specific.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.util.List errorMsgs
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
JpdlException(java.util.List errorMsgs)
           
JpdlException(java.lang.String msg)
           
 
Method Summary
 java.util.List getErrorMsgs()
           
 
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
 

Field Detail

errorMsgs

private java.util.List errorMsgs
Constructor Detail

JpdlException

public JpdlException(java.lang.String msg)

JpdlException

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

getErrorMsgs

public java.util.List getErrorMsgs()