< prev index next >
src/java.xml.ws/share/classes/com/sun/xml/internal/ws/model/CheckedExceptionImpl.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 23,32 ****
--- 23,34 ----
* questions.
*/
package com.sun.xml.internal.ws.model;
+ import java.lang.reflect.Method;
+
import com.sun.xml.internal.bind.api.Bridge;
import com.sun.xml.internal.ws.api.model.CheckedException;
import com.sun.xml.internal.ws.api.model.ExceptionType;
import com.sun.xml.internal.ws.api.model.JavaMethod;
import com.sun.xml.internal.ws.addressing.WsaActionUtil;
*** 50,59 ****
--- 52,62 ----
private final TypeInfo detail;
private final ExceptionType exceptionType;
private final JavaMethodImpl javaMethod;
private String messageName;
private String faultAction = "";
+ private Method faultInfoGetter;
/**
* @param jm {@link JavaMethodImpl} that throws this exception
* @param exceptionClass
* Userdefined or WSDL exception class that extends
*** 125,131 ****
--- 128,140 ----
public String getDefaultFaultAction() {
return WsaActionUtil.getDefaultFaultAction(javaMethod,this);
}
+ public Method getFaultInfoGetter() {
+ return faultInfoGetter;
+ }
+ public void setFaultInfoGetter(Method faultInfoGetter) {
+ this.faultInfoGetter = faultInfoGetter;
+ }
}
< prev index next >