1 package org.snipsnap.serialization; 2 3 /** This exception is thrown when no serializer is available for a requested output format */ 4 public class UnknownFormatException extends Exception { 5 6 /** Constructs an Exception without a message. */ 7 public UnknownFormatException() { 8 super(); 9 } 10 11 /** 12 * Constructs an Exception with a detailed message. 13 * @param message The message associated with the exception. 14 */ 15 public UnknownFormatException(String message) { 16 super(message); 17 } 18 } 19