com.sun.tools.ws.wsdl.framework
Class DuplicateEntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.xml.ws.WebServiceException
                  extended by com.sun.xml.ws.util.exception.JAXWSExceptionBase
                      extended by com.sun.tools.ws.wsdl.framework.ValidationException
                          extended by com.sun.tools.ws.wsdl.framework.DuplicateEntityException
All Implemented Interfaces:
Localizable, Serializable

public class DuplicateEntityException
extends ValidationException

An exception signalling that an entity with the given name/id has already been defined.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sun.xml.ws.util.localization.Localizable
NOT_LOCALIZABLE
 
Constructor Summary
DuplicateEntityException(Entity entity, String name)
           
DuplicateEntityException(GloballyKnown entity)
           
DuplicateEntityException(Identifiable entity)
           
 
Method Summary
 String getDefaultResourceBundleName()
          Gets the default resource bundle name for this kind of exception.
 
Methods inherited from class com.sun.xml.ws.util.exception.JAXWSExceptionBase
getArguments, getKey, getMessage, getResourceBundleName
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateEntityException

public DuplicateEntityException(GloballyKnown entity)

DuplicateEntityException

public DuplicateEntityException(Identifiable entity)

DuplicateEntityException

public DuplicateEntityException(Entity entity,
                                String name)
Method Detail

getDefaultResourceBundleName

public String getDefaultResourceBundleName()
Description copied from class: JAXWSExceptionBase
Gets the default resource bundle name for this kind of exception. Used for JAXWSExceptionBase.JAXWSExceptionBase(String, Object[]).

Overrides:
getDefaultResourceBundleName in class ValidationException