KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > xml > transform > NotSupportedIOTypeException


1 /***************************************************************************
2  * Copyright 2001-2005 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5
6
7 package org.exoplatform.services.xml.transform;
8 import javax.xml.transform.Result JavaDoc;
9 import javax.xml.transform.Source JavaDoc;
10 /**
11  * Created by The eXo Platform SARL .
12  *
13  * @author <a HREF="mailto:geaz@users.sourceforge.net">Gennady Azarenkov</a>
14  * @version $Id: NotSupportedIOTypeException.java 565 2005-01-25 12:48:13Z kravchuk $
15  */

16
17 public class NotSupportedIOTypeException extends Exception JavaDoc {
18
19     /** Constructs an Exception without a message. */
20     public NotSupportedIOTypeException() {
21         super();
22     }
23
24
25     /** Constructs an Exception with a message. */
26     public NotSupportedIOTypeException(Result JavaDoc result) {
27         super("Result type "+result.getClass().getName()+" is not supported by this transformer.");
28     }
29
30     /** Constructs an Exception with a message. */
31     public NotSupportedIOTypeException(Source JavaDoc source) {
32         super("Source type "+source.getClass().getName()+" is not supported by this transformer.");
33     }
34
35     /**
36      * Constructs an Exception with a detailed message.
37      * @param Message The message associated with the exception.
38      */

39     public NotSupportedIOTypeException(String JavaDoc message) {
40         super(message);
41     }
42 }
43
Popular Tags