Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: Source/core/dom/DOMCoreException.cpp

Issue 17761003: Remove FileException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/DOMExceptions.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMCoreException.cpp
diff --git a/Source/core/dom/DOMCoreException.cpp b/Source/core/dom/DOMCoreException.cpp
index 10869c121cba6f45d1d29215e4fd65a778acb236..9ae4034f3a07250c8aec99e735c99f5e85b09d6a 100644
--- a/Source/core/dom/DOMCoreException.cpp
+++ b/Source/core/dom/DOMCoreException.cpp
@@ -74,6 +74,20 @@ static struct CoreException {
{ "TransactionInactiveError", "A request was placed against a transaction which is either currently not active, or which is finished.", 0 },
{ "ReadOnlyError", "A write operation was attempted in a read-only transaction.", 0 },
{ "VersionError", "An attempt was made to open a database using a lower version than the existing version.", 0 },
+
+ // File system
+ { "NotFoundError", "A requested file or directory could not be found at the time an operation was processed.", 8 },
+ { "SecurityError", "It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources.", 18 },
+ { "AbortError", "An ongoing operation was aborted, typically with a call to abort().", 20 },
+ { "NotReadableError", "The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", 0 },
+ { "EncodingError", "A URI supplied to the API was malformed, or the resulting Data URL has exceeded the URL length limitations for Data URLs.", 0 },
+ { "NoModificationAllowedError", "An attempt was made to write to a file or directory which could not be modified due to the state of the underlying filesystem.", 7 },
+ { "InvalidStateError", "An operation that depends on state cached in an interface object was made but the state had changed since it was read from disk.", 11 },
+ { "SyntaxError", "An invalid or unsupported argument was given, like an invalid line ending specifier.", 12 },
+ { "InvalidModificationError", "The modification request was illegal.", 13 },
+ { "QuotaExceededError", "The operation failed because it would cause the application to exceed its storage quota.", 22 },
+ { "TypeMismatchError", "The path supplied exists, but was not an entry of requested type.", 17 },
+ { "PathExistsError", "An attempt was made to create a file or directory where an element already exists.", 0 },
};
static const CoreException* getErrorEntry(ExceptionCode ec)
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/DOMExceptions.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698