01: package org.objectweb.celtix.tools.common.model;
02:
03: import com.sun.xml.bind.api.TypeReference;
04:
05: public class WSDLException {
06:
07: private final Class exceptionClass;
08:
09: private final TypeReference typedetail;
10:
11: public WSDLException(Class exceptionClazz, TypeReference detail) {
12: this .typedetail = detail;
13: this .exceptionClass = exceptionClazz;
14: }
15:
16: public Class getExcpetionClass() {
17: return exceptionClass;
18: }
19:
20: public Class getDetailType() {
21: return (Class) typedetail.type;
22: }
23:
24: public TypeReference getDetailTypeReference() {
25: return typedetail;
26: }
27:
28: }
|