選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

FontRuntimeException.java 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright 2006 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* $Id$ */
  17. package org.apache.fop.render.afp.exceptions;
  18. /**
  19. * A runtime exception for handling fatal errors in processing fonts.
  20. * <p/>
  21. */
  22. public class FontRuntimeException extends NestedRuntimeException {
  23. /**
  24. * Constructs a FontRuntimeException with the specified message.
  25. * @param msg the exception mesaage
  26. */
  27. public FontRuntimeException(String msg) {
  28. super(msg);
  29. }
  30. /**
  31. * Constructs a FontRuntimeException with the specified message
  32. * wrapping the underlying exception.
  33. * @param msg the exception mesaage
  34. * @param t the underlying exception
  35. */
  36. public FontRuntimeException(String msg, Throwable t) {
  37. super(msg, t);
  38. }
  39. }