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

Side by Side Diff: third_party/jmake/src/org/pantsbuild/jmake/PrivateException.java

Issue 1373723003: Fix javac --incremental by using jmake for dependency analysis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aidl
Patch Set: fix license check Created 5 years, 2 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
OLDNEW
(Empty)
1 /* Copyright (c) 2002-2008 Sun Microsystems, Inc. All rights reserved
2 *
3 * This program is distributed under the terms of
4 * the GNU General Public License Version 2. See the LICENSE file
5 * at the top of the source tree.
6 */
7 package org.pantsbuild.jmake;
8
9 /**
10 * This class is used as a wrapper for a number of exceptions that are thrown by jmake. Its
11 * only purpose is to help avoid using endless "throws" clauses in the code.
12 *
13 * @author Misha Dmitriev
14 * 12 November 2001
15 */
16 public class PrivateException extends RuntimeException {
17
18 private static final long serialVersionUID = 1L;
19 private Throwable originalException;
20
21 public PrivateException(Throwable e) {
22 originalException = e;
23 }
24
25 public Throwable getOriginalException() {
26 return originalException;
27 }
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698