Package com.google.gwt.user.client.rpc

Examples of com.google.gwt.user.client.rpc.SerializableException


    if (item.getContent() != null && item.getContent().length() > 0) {
      try {
        asset.content = (T) getXStream().fromXML(item.getContent());
      } catch (RulesRepositoryException e) {
        log.error("error marshalling asset content: " + asset.metaData.name, e);
        throw new SerializableException(e.getMessage());
      }
    } else {
      asset.content = new WorkingSetConfigData();
    }
  }
View Full Code Here


  public void storeAssetContent(RuleAsset asset, AssetItem repoAsset) throws SerializableException {
    try {
      repoAsset.updateContent(getXStream().toXML(asset.content));
    } catch (Exception e) {
      log.error("error marshalling asset content: " + asset.metaData.name, e);
      throw new SerializableException(e.getMessage());
    }
  }
View Full Code Here

        } catch ( RulesRepositoryException e ) {
            if ( e.getCause() instanceof ItemExistsException ) {
                return "DUPLICATE";
            } else {
                log.error( e );
                throw new SerializableException( e.getMessage() );
            }
        }

    }
View Full Code Here

            name = cleanHTML( name );
            String uuid = repository.createState( name ).getNode().getUUID();
            repository.save();
            return uuid;
        } catch ( RepositoryException e ) {
            throw new SerializableException( "Unable to create the status." );
        }
    }
View Full Code Here

            log.info( "USER:" + repository.getSession().getUserID() + " REMOVING SNAPSHOT for package: [" + packageName + "] snapshot: [" + snapshotName + "]" );
            repository.removePackageSnapshot( packageName,
                                              snapshotName );
        } else {
            if ( newSnapshotName.equals( "" ) ) {
                throw new SerializableException( "Need to have a new snapshot name." );
            }
            log.info( "USER:" + repository.getSession().getUserID() + " COPYING SNAPSHOT for package: [" + packageName + "] snapshot: [" + snapshotName + "] to [" + newSnapshotName + "]" );

            repository.copyPackageSnapshot( packageName,
                                            snapshotName,
View Full Code Here

            PackageItem pkg = repository.loadPackage( packageName );
            BRMSSuggestionCompletionLoader loader = new BRMSSuggestionCompletionLoader();
            return loader.getSuggestionEngine( pkg );
        } catch ( RulesRepositoryException e ) {
            log.error( e );
            throw new SerializableException( e.getMessage() );
        }

    }
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.rpc.SerializableException

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.