Class TargetPackagePermissionException

  • All Implemented Interfaces:
    java.io.Serializable

    @OpenApiAll
    public class TargetPackagePermissionException
    extends java.lang.Exception
    Specifies that target project package permissions do not let move elements.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IAttachedProject getAttachedProject()  
      java.lang.String getTargetPackageName()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • TargetPackagePermissionException

        public TargetPackagePermissionException​(IAttachedProject attachedProject,
                                                java.lang.String packageName)
        Parameters:
        attachedProject - target module
        packageName - target package name
    • Method Detail

      • getAttachedProject

        public IAttachedProject getAttachedProject()
        Returns:
        target project as attached project in the currently opened project
      • getTargetPackageName

        public java.lang.String getTargetPackageName()
        Returns:
        target package name