@@ -40,19 +40,23 @@ /*! * The parser which encountered the unbound prefix. */ @property (readonly, nonatomic) OFXMLParser *parser; ++ (instancetype)exception OF_UNAVAILABLE; + /*! * @brief Creates a new, autoreleased unbound prefix exception. * * @param prefix The prefix which is unbound * @param parser The parser which encountered the unbound prefix * @return A new, autoreleased unbound prefix exception */ + (instancetype)exceptionWithPrefix: (OFString *)prefix parser: (OFXMLParser *)parser; + +- init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated unbound prefix exception. * * @param prefix The prefix which is unbound