Smartswitch
AccessException.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch"]]
4 
5 #include <GenericException.ice>
6 
7 module Smartswitch
8 {
9  enum Action
10  {
12  Edit,
13  Add,
15  };
16 
21  {
23  string category;
24  };
25 };
Action action
A type of action the user tried to perform.
Definition: AccessException.ice:22
string category
An entity to which the user tried to perform the action.
Definition: AccessException.ice:23
Delete an existing entity.
Definition: AccessException.ice:14
Definition: AccessException.ice:7
Get information about an entity.
Definition: AccessException.ice:11
Action
Definition: AccessException.ice:9
Thrown when a user tries perform an action which is not allowed for him.
Definition: AccessException.ice:20
Add a new entity.
Definition: AccessException.ice:13
The base class for every exception thrown by Smartswitch.
Definition: GenericException.ice:10
Edit an existing entity.
Definition: AccessException.ice:12