Remove dynamic exceptions
[anna.git] / source / comm / transport / Transport.cpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #include <anna/config/defines.hpp>
10 #include <anna/core/DataBlock.hpp>
11
12 #include <anna/comm/Transport.hpp>
13 #include <anna/comm/Socket.hpp>
14
15 using namespace anna;
16
17 const int comm::Transport::MinOverQuotaSize;
18
19 comm::Message* comm::Transport::nullInputMessage()
20 noexcept(false) {
21   throw RuntimeException(
22     "anna::comm::Transport::getInputMessage | No incoming message available",
23     ANNA_FILE_LOCATION
24   );
25   return NULL;
26 }