protected void destroy() throws ResourceNotDestroyedFault {
try {
unregister();
} catch (EndpointRegistrationException e) {
ResourceNotDestroyedFaultType fault = new ResourceNotDestroyedFaultType();
throw new ResourceNotDestroyedFault("Error unregistering endpoint", fault, e);
}
}