Project:Cainiao_Estation
This commit is contained in:
21
Cai_Niao_E_Station/exception.h
Normal file
21
Cai_Niao_E_Station/exception.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
/*
|
||||
class Exception {
|
||||
public:
|
||||
std::string User_Phone_Number_Error();
|
||||
std::string Package_Time_Format_Error();
|
||||
std::string Stock_Used_More_Than_All_Error();
|
||||
|
||||
|
||||
|
||||
};*/
|
||||
|
||||
class Etest : public std::runtime_error{
|
||||
public:
|
||||
static std::runtime_error User_Phone_Number_Error();
|
||||
static std::runtime_error Package_Time_Format_Error();
|
||||
static std::runtime_error Stock_Used_More_Than_All_Error();
|
||||
};
|
Reference in New Issue
Block a user