1 5 6 7 package org.exoplatform.services.xml.transform; 8 import javax.xml.transform.Result ; 9 import javax.xml.transform.Source ; 10 16 17 public class NotSupportedIOTypeException extends Exception { 18 19 20 public NotSupportedIOTypeException() { 21 super(); 22 } 23 24 25 26 public NotSupportedIOTypeException(Result result) { 27 super("Result type "+result.getClass().getName()+" is not supported by this transformer."); 28 } 29 30 31 public NotSupportedIOTypeException(Source source) { 32 super("Source type "+source.getClass().getName()+" is not supported by this transformer."); 33 } 34 35 39 public NotSupportedIOTypeException(String message) { 40 super(message); 41 } 42 } 43 | Popular Tags |