Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGBackendException


            } else {
              return null;
            }
        }
        catch (Exception e) {
            throw new WGBackendException("Exception reading container file data", e);
        }
    }
View Full Code Here


            md.setName(strFile.toLowerCase());
            md.setSize(file.getContent().getSize());
            return md;
        }
        catch (Exception e) {
            throw new WGBackendException("Exception retrieving file metadata for file " + strFile + " on document " + _docKey.toString(), e);
        }
    }
View Full Code Here

            }
            return fileNames;
           
        }
        catch (Exception e) {
            throw new WGBackendException("Exception reading container file data", e);
        }
    }
View Full Code Here

            }
           
            return (int) file.getContent().getSize();
        }
        catch (Exception e) {
            throw new WGBackendException("Exception reading container file data", e);
        }
    }
View Full Code Here

    public Date getLastModified() throws WGAPIException {
        try {
            return new Date(getData().getLastModified());
        }
        catch (Exception e) {
            throw new WGBackendException("Exception retrieving last modified date", e);
        }
    }
View Full Code Here

           
            return null;
           
        }
        catch (Exception e) {
            throw new WGBackendException("Exception reading file design metadata of " + _docKey.toString(), e);
        }
       
       
    }
View Full Code Here

    public Object getNativeObject() throws WGBackendException {
        try {
            return getCodeFile();
        }
        catch (Exception e) {
            throw new WGBackendException("Exception retrieving native object of " + _docKey.toString(), e);
        }
    }
View Full Code Here

    public boolean isDeleted() throws WGAPIException {
        try {
            return !getCodeFile().exists();
        }
        catch (Exception e) {
            throw new WGBackendException("Exception determining file deletion state", e);
        }
    }
View Full Code Here

    public boolean hasFile(String file) throws WGBackendException {
        try {
            return (getFileContainerFile(file) != null);
        }
        catch (Exception e) {
            throw new WGBackendException("Exception checking container file existence", e);
        }
    }
View Full Code Here

           
           
            return null;
        }
        catch (Exception e) {
            throw new WGBackendException("Exception retrieving attribute " + strName, e);
        }
    }
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.WGBackendException

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.