ot::io
class MalformedInputException
#include "ot/io/MalformedInputException.h"
Thrown when an InputStreamReader, that has been configured to abort when it encounters encoding errors, reads a malformed byte sequence.
- See also:
-
CodeConverter
Constructor/Destructor Detail |
MalformedInputException
MalformedInputException(const String& message,
CodeConverter* pDecoder)
-
Constructs a MalformedInputException with a detail message and a decoder.
- Parameters:
message
-
the detail message
pDecoder
-
the CodeConverter giving rise to the exception
MalformedInputException
MalformedInputException(const Byte* pStart,
size_t len,
CodeConverter* pDecoder)
-
Constructs a MalformedInputException with a Byte array and a decoder.
- Parameters:
pStart
-
pointer to the start of the array of badly encoded bytes
len
-
length of the array
pDecoder
-
the CodeConverter giving rise to the exception
getExceptionType
virtual String getExceptionType() const
-
Returns the class name as a String.
This method should be overridden in all derived classes to return the name of the derived class.
- See also:
-
getDescription()
Found a bug or missing feature? Please email us at support@elcel.com