List of usage examples for java.lang UnsupportedOperationException UnsupportedOperationException
public UnsupportedOperationException()
From source file:Main.java
/** * Wraps an {@link Enumeration} as an instance of {@link Iterable} so that * it can be passed into a "for each" logical construct. * // ww w .j a v a 2 s .c o m * @param <T> * @param enumeration * @return An Iterable representation of the enumeration parameter. */ public static <T> Iterable<T> toIterable(final Enumeration<T> enumeration) { return new Iterable<T>() { public Iterator<T> iterator() { return new Iterator<T>() { public boolean hasNext() { return enumeration.hasMoreElements(); } public T next() { return enumeration.nextElement(); } public void remove() { throw new UnsupportedOperationException(); } }; } }; }
From source file:com.sfs.whichdoctor.xml.writer.helper.ProjectXmlHelper.java
/** * Instantiates a new project xml helper. */ protected ProjectXmlHelper() { throw new UnsupportedOperationException(); }
From source file:springfox.documentation.schema.TypeForTestingPropertyNames.java
public int getProp_1() { throw new UnsupportedOperationException(); }
From source file:org.openbaton.nfvo.core.core.NetworkServiceFaultManagement.java
@Override public void getFaultInformation() { throw new UnsupportedOperationException(); }
From source file:springfox.documentation.service.MediaTypes.java
private MediaTypes() { throw new UnsupportedOperationException(); }
From source file:springfox.documentation.schema.property.BeanPropertyDefinitions.java
private BeanPropertyDefinitions() { throw new UnsupportedOperationException(); }
From source file:fr.landel.utils.commons.EnumUtils.java
/** * Hidden constructor. */ private EnumUtils() { throw new UnsupportedOperationException(); }
From source file:br.com.great.resource.ServidorResource.java
/** * Retrieves representation of an instance of br.com.great.resource.ServidorResource * @return an instance of java.lang.String *///from w w w .j a va2 s . c om @GET @Produces("application/json") public String getJson() { //TODO return proper representation object throw new UnsupportedOperationException(); }
From source file:com.trenako.web.infrastructure.SearchCriteriaUrlBuilder.java
private SearchCriteriaUrlBuilder() { throw new UnsupportedOperationException(); }
From source file:springfox.documentation.schema.AlternateTypeRules.java
private AlternateTypeRules() { throw new UnsupportedOperationException(); }