aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.h
Commit message (Collapse)AuthorAge
* Settings: everything != 0 equals true; remove .asm shadersPilzAdam2013-07-08
|
* Allow any character in formspec strings with escape charkwolekr2013-03-05
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Add flag string settings, flat map optionkwolekr2013-02-06
|
* Fix compile under MingWkwolekr2013-01-23
|
* Added ability to fetch media from remote server (using cURL library)Ilya Zhuravlev2012-12-16
|
* Enforce stricter world names using a blacklistMatthew I2012-09-05
| | | | Blacklisted characters are: / \
* Initially split utility.h to multiple files in util/Perttu Ahola2012-06-17
#pragma once #include "exceptions.h" namespace con { /* Exceptions */ class NotFoundException : public BaseException { public: NotFoundException(const char *s) : BaseException(s) {} }; class PeerNotFoundException : public BaseException { public: PeerNotFoundException(const char *s) : BaseException(s) {} }; class ConnectionException : public BaseException { public: ConnectionException(const char *s) : BaseException(s) {} }; class ConnectionBindFailed : public BaseException { public: ConnectionBindFailed(const char *s) : BaseException(s) {} }; class InvalidIncomingDataException : public BaseException { public: InvalidIncomingDataException(const char *s) : BaseException(s) {} }; class InvalidOutgoingDataException : public BaseException { public: InvalidOutgoingDataException(const char *s) : BaseException(s) {} }; class NoIncomingDataException : public BaseException { public: NoIncomingDataException(const char *s) : BaseException(s) {} }; class ProcessedSilentlyException : public BaseException { public: ProcessedSilentlyException(const char *s) : BaseException(s) {} }; class ProcessedQueued : public BaseException { public: ProcessedQueued(const char *s) : BaseException(s) {} }; class IncomingDataCorruption : public BaseException { public: IncomingDataCorruption(const char *s) : BaseException(s) {} }; } class SocketException : public BaseException { public: SocketException(const std::string &s) : BaseException(s) {} }; class ResolveError : public BaseException { public: ResolveError(const std::string &s) : BaseException(s) {} }; class SendFailedException : public BaseException { public: SendFailedException(const std::string &s) : BaseException(s) {} };