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.

MarkUnsupportedException.java 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* ====================================================================
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. ==================================================================== */
  15. package org.apache.poi.hpsf;
  16. /**
  17. * <p>This exception is thrown if an {@link java.io.InputStream} does
  18. * not support the {@link java.io.InputStream#mark} operation.</p>
  19. *
  20. * @author Rainer Klute <a
  21. * href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
  22. */
  23. public class MarkUnsupportedException extends HPSFException
  24. {
  25. /**
  26. * <p>Constructor</p>
  27. */
  28. public MarkUnsupportedException()
  29. {
  30. super();
  31. }
  32. /**
  33. * <p>Constructor</p>
  34. *
  35. * @param msg The exception's message string
  36. */
  37. public MarkUnsupportedException(final String msg)
  38. {
  39. super(msg);
  40. }
  41. /**
  42. * <p>Constructor</p>
  43. *
  44. * @param reason This exception's underlying reason
  45. */
  46. public MarkUnsupportedException(final Throwable reason)
  47. {
  48. super(reason);
  49. }
  50. /**
  51. * <p>Constructor</p>
  52. *
  53. * @param msg The exception's message string
  54. * @param reason This exception's underlying reason
  55. */
  56. public MarkUnsupportedException(final String msg, final Throwable reason)
  57. {
  58. super(msg, reason);
  59. }
  60. }