diff options
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/errors/BinaryBlobException.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/errors/BinaryBlobException.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/errors/BinaryBlobException.java b/org.eclipse.jgit/src/org/eclipse/jgit/errors/BinaryBlobException.java new file mode 100644 index 0000000000..768931ca0b --- /dev/null +++ b/org.eclipse.jgit/src/org/eclipse/jgit/errors/BinaryBlobException.java @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2017 Google Inc. and others + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Distribution License v. 1.0 which is available at + * https://www.eclipse.org/org/documents/edl-v10.php. + * + * SPDX-License-Identifier: BSD-3-Clause + */ +package org.eclipse.jgit.errors; + +/** + * BinaryBlobException is used to signal that binary data was found + * in a context that requires text (eg. for generating textual diffs). + * + * @since 4.10 + */ +public class BinaryBlobException extends Exception { + private static final long serialVersionUID = 1L; + + /** + * Construct a BinaryBlobException. + */ + public BinaryBlobException() {} + + @Override + public synchronized Throwable fillInStackTrace() { + return this; + } +} |