Package kameleon.exception

Examples of kameleon.exception.UnknownExtensionException


   *
   * @see    #isKnownExtension(String)
   */
  public int getNAnalyzers(String extension) throws UnknownExtensionException {
    if (!this.isKnownExtension(extension)) {
      throw new UnknownExtensionException() ;
    }// if
   
    return this.analyzerInfo.get(extension).size() ;
  }// getNAnalyzers(String)
View Full Code Here


   *
   * @see    #isKnownExtension(String)
   */
  public PlugInInfo getAnalyzerInfo(String extension) throws NotUniquePlugInInfoException, UnknownExtensionException {
    if (!this.isKnownExtension(extension)) {
      throw new UnknownExtensionException() ;
    }// if
   
    if (this.getNAnalyzers(extension) != 1) {
      throw new NotUniquePlugInInfoException() ;
    }// if
View Full Code Here

   * @throws  UnknownExtensionException 
   *       if there is no analyzer using this extension
   */
  public List<PlugInInfo> getAllAnalyzerInfo(String extension) throws UnknownExtensionException {
    if (!this.isKnownExtension(extension)) {
      throw new UnknownExtensionException() ;
    }// if
   
    return this.analyzerInfo.get(extension) ;
  }// getAllAnalyzerInfo(String)
View Full Code Here

TOP

Related Classes of kameleon.exception.UnknownExtensionException

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.