List of usage examples for org.apache.commons.lang NotImplementedException NotImplementedException
public NotImplementedException(Class clazz)
NotImplementedException
referencing the specified class. From source file:com.jabyftw.lobstercraft.services.services_event.AsyncPlayerPreJoinEvent.java
@Deprecated @Override/* w w w . j a v a 2 s . c o m*/ public void setCancelled(boolean cancel) { throw new NotImplementedException("Method not implemented!"); }
From source file:com.p5solutions.core.jpa.orm.criteria.restrictions.SimpleExpression.java
@Override public List<SQLParameterCriteria> getQueryCriterias(EntityDetail<?> entityDetail) { throw new NotImplementedException("This method is not applicable for Simple Expressions"); }
From source file:ar.com.zauber.commons.secret.impl.NullSecretsMap.java
/** @see SecretsMap#getSecretGenerator() */ public final SecretGenerator getSecretGenerator() { throw new NotImplementedException("not implemented"); }
From source file:com.amalto.core.storage.prepare.JDBCStorageCleaner.java
public void clean(Storage storage) { try {/*from ww w . j a v a2 s .c o m*/ DataSource storageDataSource = storage.getDataSource(); if (!(storageDataSource instanceof RDBMSDataSource)) { throw new IllegalArgumentException("Storage to clean does not seem to be a RDBMS storage."); } if (((RDBMSDataSource) storageDataSource).hasInit()) { // Only clean if datasource has initialization information. RDBMSDataSource dataSource = (RDBMSDataSource) storageDataSource; RDBMSDataSource.DataSourceDialect dialect = dataSource.getDialectName(); switch (dialect) { case MYSQL: next = new MySQLStorageCleaner(next); break; case H2: next = new H2StorageCleaner(next); break; case ORACLE_10G: next = new OracleStorageCleaner(next); break; case SQL_SERVER: next = new SQLServerStorageCleaner(next); break; case POSTGRES: next = new PostgresStorageCleaner(next); break; case DB2: next = new DB2StorageCleaner(next); break; default: throw new NotImplementedException("Can not clean storages based on dialect '" + dialect + "'"); } } else { LOGGER.warn("Can not clean storage '" + storage.getName() + "' because datasource has no init section."); } next.clean(storage); } catch (Exception e) { throw new RuntimeException(e); } }
From source file:com.amalto.core.load.xml.Selector.java
public void parse(StateContext context, XMLStreamReader reader) throws XMLStreamException { int next = reader.next(); switch (next) { case XMLEvent.START_ELEMENT: context.setCurrent(StartElement.INSTANCE); break;//from w w w . j a v a 2 s . co m case XMLEvent.END_ELEMENT: /* * Switch to EndPayload only if we're at the level of begin payload. * If the document has the following structure: * * <root> * <root>...</root> * </root> * * We want to end the payload for the top level <root> element, hence the depth == 1 condition. */ if (context.getDepth() == 1 && context.getPayLoadElementName().equals(reader.getName().getLocalPart())) { context.setCurrent(EndPayload.INSTANCE); } else { context.setCurrent(EndElement.INSTANCE); } break; case XMLEvent.CHARACTERS: context.setCurrent(Characters.INSTANCE); break; case XMLEvent.END_DOCUMENT: context.setCurrent(End.INSTANCE); break; case XMLEvent.COMMENT: // Ignore comment storage in MDM break; default: // Nothing to do? throw new NotImplementedException("Support for event id #" + next); } }
From source file:com.intellij.plugins.haxe.ide.hierarchy.HaxeHierarchyUtils.java
private HaxeHierarchyUtils() { throw new NotImplementedException("Static use only."); }
From source file:blue.lapis.pore.impl.entity.PoreAbstractHorse.java
@Override public int getDomestication() { throw new NotImplementedException("TODO"); }
From source file:com.evolveum.midpoint.web.page.admin.users.dto.TreeStateSet.java
@Override public boolean retainAll(Collection<?> c) { throw new NotImplementedException("Not yet implemented."); }
From source file:de.crowdcode.bitemporal.example.PersonImpl.java
@Override public Boolean alive() { // Not implemented throw new NotImplementedException("Person.alive() is not implemented!"); }
From source file:com.ajah.sms.TwilioSmsClient.java
/** * Fetches outbound messages.//from ww w . j a v a 2 s .c o m */ @Override public void getOutboundMessages() { throw new NotImplementedException("Not implemented yet"); }