dng_exceptions.h File Reference

Go to the source code of this file.


Classes

class  dng_exception
 All exceptions thrown by the DNG SDK use this exception class. More...

Functions

void ReportWarning (const char *message, const char *sub_message=NULL)
 Display a warning message. Note that this may just eat the message.
void ReportError (const char *message, const char *sub_message=NULL)
 Display an error message. Note that this may just eat the message.
void Throw_dng_error (dng_error_code err, const char *message=NULL, const char *sub_message=NULL, bool silent=false)
 Throw an exception based on an arbitrary error code.
void Fail_dng_error (dng_error_code err)
 Convenience function to throw dng_exception with error code if error_code is not dng_error_none .
void ThrowProgramError (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_unknown .
void ThrowNotYetImplemented (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_not_yet_implemented .
void ThrowSilentError ()
 Convenience function to throw dng_exception with error code dng_error_silent .
void ThrowUserCanceled ()
 Convenience function to throw dng_exception with error code dng_error_user_canceled .
void ThrowHostInsufficient (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_host_insufficient .
void ThrowMemoryFull (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_memory .
void ThrowBadFormat (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_bad_format .
void ThrowMatrixMath (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_matrix_math .
void ThrowOpenFile (const char *sub_message=NULL, bool silent=false)
 Convenience function to throw dng_exception with error code dng_error_open_file .
void ThrowReadFile (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_read_file .
void ThrowWriteFile (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_write_file .
void ThrowEndOfFile (const char *sub_message=NULL)
 Convenience function to throw dng_exception with error code dng_error_end_of_file .
void ThrowFileIsDamaged ()
 Convenience function to throw dng_exception with error code dng_error_file_is_damaged .
void ThrowImageTooBigDNG ()
 Convenience function to throw dng_exception with error code dng_error_image_too_big_dng .
void ThrowImageTooBigTIFF ()
 Convenience function to throw dng_exception with error code dng_error_image_too_big_tiff .

Detailed Description

C++ exception support for DNG SDK.

Copyright © 2006-2009 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google