Ejemplo n.º 1
0
  public INTERNAL ortNotInitialized(CompletionStatus cs, Throwable t) {
    INTERNAL exc = new INTERNAL(ORT_NOT_INITIALIZED, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = null;
      doLog(Level.WARNING, "IOR.ortNotInitialized", parameters, IORSystemException.class, exc);
    }

    return exc;
  }
Ejemplo n.º 2
0
  public INTERNAL nullPoa(CompletionStatus cs, Throwable t) {
    INTERNAL exc = new INTERNAL(NULL_POA, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = null;
      doLog(Level.WARNING, "IOR.nullPoa", parameters, IORSystemException.class, exc);
    }

    return exc;
  }
Ejemplo n.º 3
0
  public INTERNAL stringifyWriteError(CompletionStatus cs, Throwable t) {
    INTERNAL exc = new INTERNAL(STRINGIFY_WRITE_ERROR, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = null;
      doLog(Level.WARNING, "IOR.stringifyWriteError", parameters, IORSystemException.class, exc);
    }

    return exc;
  }
Ejemplo n.º 4
0
  public INTERNAL getLocalServantFailure(CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL(GET_LOCAL_SERVANT_FAILURE, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.FINE)) {
      Object[] parameters = new Object[1];
      parameters[0] = arg0;
      doLog(Level.FINE, "IOR.getLocalServantFailure", parameters, IORSystemException.class, exc);
    }

    return exc;
  }
Ejemplo n.º 5
0
  public INTERNAL badMagic(CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL(BAD_MAGIC, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = new Object[1];
      parameters[0] = arg0;
      doLog(Level.WARNING, "IOR.badMagic", parameters, IORSystemException.class, exc);
    }

    return exc;
  }
  public INTERNAL classNotFound(CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL(CLASS_NOT_FOUND, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = new Object[1];
      parameters[0] = arg0;
      doLog(Level.WARNING, "UTIL.classNotFound", parameters, UtilSystemException.class, exc);
    }

    return exc;
  }
  public INTERNAL illegalFieldAccess(CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL(ILLEGAL_FIELD_ACCESS, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = new Object[1];
      parameters[0] = arg0;
      doLog(Level.WARNING, "UTIL.illegalFieldAccess", parameters, UtilSystemException.class, exc);
    }

    return exc;
  }
Ejemplo n.º 8
0
  public INTERNAL invalidJdk131PatchLevel(CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL(INVALID_JDK1_3_1_PATCH_LEVEL, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = new Object[1];
      parameters[0] = arg0;
      doLog(
          Level.WARNING, "IOR.invalidJdk131PatchLevel", parameters, IORSystemException.class, exc);
    }

    return exc;
  }
  public INTERNAL errorSetDoubleField(
      CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
    INTERNAL exc = new INTERNAL(ERROR_SET_DOUBLE_FIELD, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = new Object[3];
      parameters[0] = arg0;
      parameters[1] = arg1;
      parameters[2] = arg2;
      doLog(Level.WARNING, "UTIL.errorSetDoubleField", parameters, UtilSystemException.class, exc);
    }

    return exc;
  }
  public INTERNAL badBeginUnmarshalCustomValue(CompletionStatus cs, Throwable t) {
    INTERNAL exc = new INTERNAL(BAD_BEGIN_UNMARSHAL_CUSTOM_VALUE, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = null;
      doLog(
          Level.WARNING,
          "UTIL.badBeginUnmarshalCustomValue",
          parameters,
          UtilSystemException.class,
          exc);
    }

    return exc;
  }
Ejemplo n.º 11
0
  public INTERNAL taggedProfileTemplateFactoryNotFound(
      CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL(TAGGED_PROFILE_TEMPLATE_FACTORY_NOT_FOUND, cs);
    if (t != null) exc.initCause(t);

    if (logger.isLoggable(Level.WARNING)) {
      Object[] parameters = new Object[1];
      parameters[0] = arg0;
      doLog(
          Level.WARNING,
          "IOR.taggedProfileTemplateFactoryNotFound",
          parameters,
          IORSystemException.class,
          exc);
    }

    return exc;
  }