Examples of Error


Examples of jjil.core.Error

           throws jjil.core.Error, IOException
        {
            char[] rC = new char[6];
            isr.read(rC, 0, 6);
            if ("(hwcs ".compareTo(new String(rC)) != 0) { //$NON-NLS-1$
                throw new Error(
                                Error.PACKAGE.ALGORITHM,
                                ErrorCodes.PARSE_ERROR,
                                new String(rC),
                                "(hwcs ",
                                isr.toString());
View Full Code Here

Examples of jjil.core.Error

           throws jjil.core.Error, IOException
        {
            char[] rC = new char[5];
            isr.read(rC, 0, 5);
            if ("(hcs ".compareTo(new String(rC)) != 0) { //$NON-NLS-1$
                throw new Error(
                                Error.PACKAGE.ALGORITHM,
                                ErrorCodes.PARSE_ERROR,
                                new String(rC),
                                "(hcs ",
                                isr.toString());
View Full Code Here

Examples of jjil.core.Error

            this.nPixelCount++;
        }

        public int compareTo(Object o) throws jjil.core.Error {
            if (o == null) {
                throw new Error(
                        Error.PACKAGE.ALGORITHM,
                        ErrorCodes.CONN_COMP_LABEL_COMPARETO_NULL,
                        null,
                        null,
                        null);
            }
            if (!(o instanceof Label)) {
                throw new Error(
                        Error.PACKAGE.ALGORITHM,
                        ErrorCodes.OBJECT_NOT_EXPECTED_TYPE,
                        o.toString(),
                        "Label",
                        null);
View Full Code Here

Examples of jjil.core.Error

     * @throws jjil.core.Error if the input image is not gray,
     * or the trapezoid already specified extends outside its bounds.
     */
    public void push(Image image) throws jjil.core.Error {
        if (!(image instanceof Gray8Image)) {
            throw new Error(
            Error.PACKAGE.ALGORITHM,
            ErrorCodes.IMAGE_NOT_GRAY8IMAGE,
            image.toString(),
            null,
            null);
View Full Code Here

Examples of jjil.core.Error

     * @throws jjil.core.Error if the warp is not 2x3 or the warp is not
     * decomposable (warp[0][0] or warp[1][1] is 0).
     */
    public void setWarp(double[][] warp) throws jjil.core.Error {
        if (warp.length != 2 || warp[0].length != 3 || warp[1].length != 3) {
            throw new Error(
                            Error.PACKAGE.ALGORITHM,
                            jjil.algorithm.ErrorCodes.PARAMETER_WRONG_SIZE,
                            warp.toString(),
                            null,
                            null);
View Full Code Here

Examples of jjil.core.Error

    }
   
    @Override
    public void push(Image imageInput) throws Error {
        if (!(imageInput instanceof RgbImage)) {
            throw new Error(
            Error.PACKAGE.ALGORITHM,
            ErrorCodes.IMAGE_NOT_RGBIMAGE,
            imageInput.toString(),
            null,
            null);
View Full Code Here

Examples of jp.vmi.selenium.selenese.result.Error

     * Get result.
     *
     * @return result.
     */
    public Result getResult() {
        return new Error(e);
    }
View Full Code Here

Examples of kyotocabinet.Error

    public boolean jump(byte[] key) throws DataStoreFatalException {
  if (this.firstNextCall) this.firstNextCall = false;
  boolean jumped = this.cursor.jump(key);
  if (!jumped) {
      Error e = db.error();
      if (e != null) logger.debug("DataStoreIterator failed to jump to record {} {}", new String(key), errorToString(e));
  }
  return jumped;
    }
View Full Code Here

Examples of nl.clockwork.mule.ebms.model.ebxml.Error

    return createError(location,errorCode,description,Constants.EBMS_DEFAULT_LANGUAGE,severity);
  }
 
  public static Error createError(String location, String errorCode, String description, String language, SeverityType severity)
  {
    Error error = new Error();
    error.setCodeContext(Constants.EBMS_ERROR_CODE_CONTEXT);
    error.setLocation(location);
    error.setErrorCode(errorCode);
    error.setDescription(new Description());
    error.getDescription().setLang(language);
    error.getDescription().setValue(description);
    error.setSeverity(severity);
    return error;
  }
View Full Code Here

Examples of org.apache.abdera.protocol.error.Error

  protected Document<Error> createErrorDocument(
    Abdera abdera,
    int code,
    String message,
    Throwable e) {
      Error error = Error.create(abdera,code,message);
      return error.getDocument();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.