Rev 3374 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
namespace java in.shop2020.genericnamespace py shop2020.thriftpy.genericenum ExceptionType {NULL_POINTER = 101,ILLEGAL_ARGUMENTS = 102,DATABASE_ERROR = 103,NOT_AUTHORIZED = 104}const map<ExceptionType, string> EXCEPTION_TYPES_DESCRIPTION = {ExceptionType.NULL_POINTER : "Null pointer exception",ExceptionType.ILLEGAL_ARGUMENTS : "Illegal arguments, could not lookup",ExceptionType.DATABASE_ERROR : "Error in the DB layer",ExceptionType.NOT_AUTHORIZED : "Not authorized"};service GenericService{/*** For checking weather service is active alive or not. It also checks connectivity with database*/bool isAlive(),/*** For closing the open session in sqlalchemy*/void closeSession()}