Guvnor - Project API 6.2.0.Final

org.guvnor.common.services.project.service
Class PackageAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.uberfire.java.nio.IOException
                  extended by org.uberfire.java.nio.file.FileSystemException
                      extended by org.guvnor.common.services.project.service.PackageAlreadyExistsException
All Implemented Interfaces:
Serializable

@Portable
public class PackageAlreadyExistsException
extends org.uberfire.java.nio.file.FileSystemException

Exception for when a new package request fails; due to it already existing. FileAlreadyExistsException cannot be used as this is presented to the User as "File already exists"... which is not technically correct for packages

See Also:
Serialized Form

Constructor Summary
PackageAlreadyExistsException()
           
PackageAlreadyExistsException(String file)
           
PackageAlreadyExistsException(String file, String other, String reason)
           
 
Method Summary
 
Methods inherited from class org.uberfire.java.nio.file.FileSystemException
getFile, getOtherFile, getReason
 
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

PackageAlreadyExistsException

public PackageAlreadyExistsException()

PackageAlreadyExistsException

public PackageAlreadyExistsException(String file)

PackageAlreadyExistsException

public PackageAlreadyExistsException(String file,
                                     String other,
                                     String reason)

Guvnor - Project API 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.