Package com.ourlinc.swift.exception

Examples of com.ourlinc.swift.exception.TransactionException


  synchronized public <E extends Persistence> PersisterStorage<E> newPersister(Storage storage,
      Class<E> classOf, PodiBase podi) {
    Persister<E> check = getPersister(classOf);
    if (null != check) {
      throw new TransactionException("已有同名的存储器:" + check);
    }

    PersisterStorage<E> persister = new PersisterStorage<E>(storage, MappedAnnotation
        .getInstance(classOf, this, podi), classOf);
    persister.setFlusher(m_Flusher);
View Full Code Here


  synchronized public <E extends Persistence> PersisterStorage<E> newPersister(Storage storage,
      Class<E> classOf, PodiBase podi) {
    Persister<E> check = getPersister(classOf);
    if (null != check) {
      throw new TransactionException("已有同名的存储器:" + check);
    }

    PersisterStorage<E> persister = new PersisterStorage<E>(storage, MappedAnnotation
        .getInstance(classOf, this, podi), classOf);
    persister.setFlusher(m_Flusher);
View Full Code Here

TOP

Related Classes of com.ourlinc.swift.exception.TransactionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.