BinaryBlobException.java

  1. /*
  2.  * Copyright (C) 2017 Google Inc. and others
  3.  *
  4.  * This program and the accompanying materials are made available under the
  5.  * terms of the Eclipse Distribution License v. 1.0 which is available at
  6.  * https://www.eclipse.org/org/documents/edl-v10.php.
  7.  *
  8.  * SPDX-License-Identifier: BSD-3-Clause
  9.  */
  10. package org.eclipse.jgit.errors;

  11. /**
  12.  * BinaryBlobException is used to signal that binary data was found
  13.  * in a context that requires text (eg. for generating textual diffs).
  14.  *
  15.  * @since 4.10
  16.  */
  17. public class BinaryBlobException extends Exception {
  18.     private static final long serialVersionUID = 1L;

  19.     /**
  20.      * Construct a BinaryBlobException.
  21.      */
  22.     public BinaryBlobException() {}

  23.     @Override
  24.     public synchronized Throwable fillInStackTrace() {
  25.         return this;
  26.     }
  27. }