1 /*
2 * Copyright (C) 2012, 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
11 package org.eclipse.jgit.transport;
12
13 /**
14 * Indicates that a client request has not yet been read from the wire.
15 *
16 * @since 2.0
17 */
18 public class RequestNotYetReadException extends IllegalStateException {
19 private static final long serialVersionUID = 1L;
20
21 /**
22 * Initialize with no message.
23 */
24 public RequestNotYetReadException() {
25 // Do not set a message.
26 }
27
28 /**
29 * <p>Constructor for RequestNotYetReadException.</p>
30 *
31 * @param msg
32 * a message explaining the state. This message should not
33 * be shown to an end-user.
34 */
35 public RequestNotYetReadException(String msg) {
36 super(msg);
37 }
38 }