Package org.wikier.trioo.jtrioo.exceptions

Examples of org.wikier.trioo.jtrioo.exceptions.CURIESyntaxException


  }
 
  public CURIE(String curie) {
    String[] splitted = curie.split(":");
    if (splitted.length != 2) {
      throw new CURIESyntaxException("not found prefix and reference separated by ':'");
    } else {
      this.buildCURIE(splitted[0], splitted[1]);
    }
  }
View Full Code Here


      throw new MappingNotFoundException(prefix);
    }
    try {
      new URI(namespace + reference);
    } catch (URISyntaxException e) {
      throw new CURIESyntaxException(e);
    }
   
    this.prefix = prefix;
    this.reference = reference;   
  }
View Full Code Here

TOP

Related Classes of org.wikier.trioo.jtrioo.exceptions.CURIESyntaxException

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.