org.ow2.bonita.facade.exception
Class PackageNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.bonita.util.BonitaException
              extended by org.ow2.bonita.facade.exception.PackageNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class PackageNotFoundException
extends BonitaException

Thrown by methods of ManagementAPI or QueryDefinitionAPI if the recorded runtime information of the package has not been found.

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
See Also:
Serialized Form

Constructor Summary
PackageNotFoundException(PackageDefinitionUUID packageUUID)
           
PackageNotFoundException(PackageNotFoundException e)
           
PackageNotFoundException(java.lang.String packageId)
           
PackageNotFoundException(java.lang.String packageId, java.lang.String version)
           
 
Method Summary
static PackageNotFoundException build(java.lang.Throwable e)
           
 java.lang.String getPackageId()
           
 PackageDefinitionUUID getPackageUUID()
           
 java.lang.String getVersion()
           
 
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

PackageNotFoundException

public PackageNotFoundException(java.lang.String packageId)

PackageNotFoundException

public PackageNotFoundException(java.lang.String packageId,
                                java.lang.String version)

PackageNotFoundException

public PackageNotFoundException(PackageDefinitionUUID packageUUID)

PackageNotFoundException

public PackageNotFoundException(PackageNotFoundException e)
Method Detail

build

public static PackageNotFoundException build(java.lang.Throwable e)

getPackageId

public java.lang.String getPackageId()

getVersion

public java.lang.String getVersion()

getPackageUUID

public PackageDefinitionUUID getPackageUUID()


Copyright © 2008 OW2 Consortium. All Rights Reserved.