@@ -135,10 +135,20 @@ /** * An OFException indicating that the encoding is invalid for this object. */ @interface OFInvalidEncodingException: OFException {} +/** + * \return An error message for the exception as a C string + */ +- (const char*)cString; +@end + +/** + * An OFException indicating that the format is invalid. + */ +@interface OFInvalidFormatException: OFException {} /** * \return An error message for the exception as a C string */ - (const char*)cString; @end