Class TypeAccessPermissionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.security.TypeAccessPermissionException
All Implemented Interfaces:
Serializable

public class TypeAccessPermissionException extends RuntimeException
Throws this exception when the user lacks privileges in accessing the given item type.
See Also:
  • Constructor Details

    • TypeAccessPermissionException

      public TypeAccessPermissionException(String itemType, @NotNull @NotNull String permission)
      Instantiates this exception.
      Parameters:
      itemType - item type, to which the user violates access permissions.
      permission - permission the user does not have in order to access the itemType. For example, read, write, etc.
    • TypeAccessPermissionException

      public TypeAccessPermissionException(@NotNull @NotNull String permission)
      Instantiates this exception.
      Parameters:
      permission - permission the user does not have in order to access the Integration Object. For example, read, write, etc.
  • Method Details

    • getItemType

      public String getItemType()
      Retrieves protected item type.
      Returns:
      item type the user attempted to access without having a corresponding permission.
      See Also:
    • getPermission

      public String getPermission()
      Retrieves violated permission
      Returns:
      permission the user lacks in order to access the item type.
      See Also: