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

Side by Side Diff: tools/deep_memory_profiler/lib/exceptions.py

Issue 19346002: Refactor dmprof: Split dmprof.py into modules. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/deep_memory_profiler/lib/dump.py ('k') | tools/deep_memory_profiler/lib/ordered_dict.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 class EmptyDumpException(Exception):
6 def __str__(self):
7 return repr(self.args[0])
8
9
10 class ParsingException(Exception):
11 def __str__(self):
12 return repr(self.args[0])
13
14
15 class InvalidDumpException(ParsingException):
16 def __str__(self):
17 return "invalid heap profile dump: %s" % repr(self.args[0])
18
19
20 class ObsoleteDumpVersionException(ParsingException):
21 def __str__(self):
22 return "obsolete heap profile dump version: %s" % repr(self.args[0])
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/lib/dump.py ('k') | tools/deep_memory_profiler/lib/ordered_dict.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698