Class TypeAccessPermissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.security.TypeAccessPermissionException
- All Implemented Interfaces:
Serializable
Throws this exception when the user lacks privileges in accessing the given item type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTypeAccessPermissionException(@NotNull String permission) Instantiates this exception.TypeAccessPermissionException(String itemType, @NotNull String permission) Instantiates this exception. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves protected item type.Retrieves violated permissionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TypeAccessPermissionException
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 theitemType. For example, read, write, etc.
-
TypeAccessPermissionException
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
Retrieves protected item type.- Returns:
- item type the user attempted to access without having a corresponding permission.
- See Also:
-
getPermission
Retrieves violated permission- Returns:
- permission the user lacks in order to access the item type.
- See Also:
-