| 1 | /* |
| 2 | * Copyright (C) 2007 Steve Ratcliffe |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * |
| 14 | * Author: Steve Ratcliffe |
| 15 | * Create date: Dec 14, 2007 |
| 16 | */ |
| 17 | package uk.me.parabola.imgfmt; |
| 18 | |
| 19 | /** |
| 20 | * @author Steve Ratcliffe |
| 21 | */ |
| 22 | public class ReadFailedException extends RuntimeException { |
| 23 | |
| 24 | /** |
| 25 | * Constructs a new runtime exception with the specified detail message and |
| 26 | * cause. <p>Note that the detail message associated with <code>cause</code> |
| 27 | * is <i>not</i> automatically incorporated in this runtime exception's detail |
| 28 | * message. |
| 29 | * |
| 30 | * @param message the detail message (which is saved for later retrieval by the |
| 31 | * {@link #getMessage()} method). |
| 32 | * @param cause the cause (which is saved for later retrieval by the {@link |
| 33 | * #getCause()} method). (A <tt>null</tt> value is permitted, and indicates |
| 34 | * that the cause is nonexistent or unknown.) |
| 35 | * @since 1.4 |
| 36 | */ |
| 37 | public ReadFailedException(String message, Throwable cause) { |
| 38 | super(message, cause); |
| 39 | } |
| 40 | } |