org.enhydra.shark.api.client.wfservice
Class PackageInvalid

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.enhydra.shark.api.RootException
              extended byorg.enhydra.shark.api.client.wfservice.PackageInvalid
All Implemented Interfaces:
java.io.Serializable

public final class PackageInvalid
extends RootException

Raised when user tries to upload to repository, or open from repository the xpdl file that hasn't pass shark's validation.

See Also:
Serialized Form

Constructor Summary
PackageInvalid()
           
PackageInvalid(java.lang.String $reason)
           
PackageInvalid(java.lang.String xpdlErrorMsg, java.lang.String message)
           
PackageInvalid(java.lang.Throwable th)
           
 
Method Summary
 java.lang.String getXPDLValidationErrors()
          Returns a HTML formated text representing all validation errors that have happened during loading or updating packages.
 
Methods inherited from class org.enhydra.shark.api.RootException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageInvalid

public PackageInvalid()

PackageInvalid

public PackageInvalid(java.lang.String $reason)

PackageInvalid

public PackageInvalid(java.lang.Throwable th)

PackageInvalid

public PackageInvalid(java.lang.String xpdlErrorMsg,
                      java.lang.String message)
Method Detail

getXPDLValidationErrors

public java.lang.String getXPDLValidationErrors()
Returns a HTML formated text representing all validation errors that have happened during loading or updating packages.