...
diff --git a/coders/dpx.c b/coders/dpx.c
index 0d56949..aebadda 100644
--- a/coders/dpx.c
+++ b/coders/dpx.c
@@ -1107,7 +1107,8 @@
             *profile;
 
            if (dpx.file.user_size > GetBlobSize(image))
-             ThrowReaderException(CorruptImageError,"ImproperImageHeader");
+             ThrowReaderException(CorruptImageError,
+               "InsufficientImageDataInFile");
            profile=BlobToStringInfo((const unsigned char *) NULL,
              dpx.file.user_size-sizeof(dpx.user.id));
            if (profile == (StringInfo *) NULL)