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.
5 class EmptyDumpException(Exception):
7 return repr(self
.args
[0])
10 class ParsingException(Exception):
12 return repr(self
.args
[0])
15 class InvalidDumpException(ParsingException
):
17 return "invalid heap profile dump: %s" % repr(self
.args
[0])
20 class ObsoleteDumpVersionException(ParsingException
):
22 return "obsolete heap profile dump version: %s" % repr(self
.args
[0])