You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RequestNotYetReadException.java 937B

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