Changeset 6127 in josm for trunk/src/com/drew/imaging/jpeg/JpegProcessingException.java
- Timestamp:
- 2013-08-09T18:05:11+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/drew/imaging/jpeg/JpegProcessingException.java
r4231 r6127 1 1 /* 2 * JpegProcessingException.java2 * Copyright 2002-2012 Drew Noakes 3 3 * 4 * This class is public domain software - that is, you can do whatever you want 5 * with it, and include it software that is licensed under the GNU or the 6 * BSD license, or whatever other licence you choose, including proprietary 7 * closed source licenses. I do ask that you leave this header in tact. 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 8 7 * 9 * If you make modifications to this code that you think would benefit the 10 * wider community, please send me a copy and I'll post it on my site. 8 * http://www.apache.org/licenses/LICENSE-2.0 11 9 * 12 * If you make use of this code, I'd appreciate hearing about it. 13 * drew@drewnoakes.com 14 * Latest version of this software kept at 15 * http://drewnoakes.com/ 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. 16 15 * 17 * Created by dnoakes on 04-Nov-2002 19:31:29 using IntelliJ IDEA. 16 * More information about this project is available at: 17 * 18 * http://drewnoakes.com/code/exif/ 19 * http://code.google.com/p/metadata-extractor/ 18 20 */ 19 21 package com.drew.imaging.jpeg; 20 22 21 import com.drew.lang.CompoundException; 23 import com.drew.imaging.ImageProcessingException; 24 import com.drew.lang.annotations.Nullable; 22 25 23 26 /** 24 * An exception class thrown upon unexpected and fatal conditions while processing 25 * a Jpeg file.26 * @author 27 * An exception class thrown upon unexpected and fatal conditions while processing a Jpeg file. 28 * 29 * @author Drew Noakes http://drewnoakes.com 27 30 */ 28 public class JpegProcessingException extends CompoundException31 public class JpegProcessingException extends ImageProcessingException 29 32 { 30 public JpegProcessingException(String message) 33 private static final long serialVersionUID = -7870179776125450158L; 34 35 public JpegProcessingException(@Nullable String message) 31 36 { 32 37 super(message); 33 38 } 34 39 35 public JpegProcessingException( String message,Throwable cause)40 public JpegProcessingException(@Nullable String message, @Nullable Throwable cause) 36 41 { 37 42 super(message, cause); 38 43 } 39 44 40 public JpegProcessingException( Throwable cause)45 public JpegProcessingException(@Nullable Throwable cause) 41 46 { 42 47 super(cause);
Note:
See TracChangeset
for help on using the changeset viewer.