@@ -296,10 +296,20 @@ /** * An OFException indicating an attempt to connect or bind an already connected * or bound socket */ @interface OFAlreadyConnectedException: OFException {} +/** + * \return An error message for the exception as a C string. + */ +- (char*)cString; +@end + +/** + * An OFException indicating that the specified port is invalid. + */ +@interface OFInvalidPortException: OFException /** * \return An error message for the exception as a C string. */ - (char*)cString; @end