Package ch.qos.logback.core.joran.spi

Examples of ch.qos.logback.core.joran.spi.ActionException


      ec.pushObject(definer);
    } catch (Exception oops) {
      inError = true;
      addError("Could not create an PropertyDefiner of type [" + className
          + "].", oops);
      throw new ActionException(oops);
    }
  }
View Full Code Here


      ec.pushObject(appender);
    } catch (Exception oops) {
      inError = true;
      addError("Could not create an Appender of type [" + className + "].",
          oops);
      throw new ActionException(oops);
    }
  }
View Full Code Here

      ec.pushObject(statusListener);
    } catch (Exception e) {
      inError = true;
      addError(
              "Could not create an StatusListener of type [" + className + "].", e);
      throw new ActionException(e);
    }

  }
View Full Code Here

      ec.pushObject(appender);
    } catch (Exception oops) {
      inError = true;
      addError("Could not create an Appender of type [" + className + "].",
          oops);
      throw new ActionException(oops);
    }
  }
View Full Code Here

      ec.pushObject(statusListener);
    } catch (Exception e) {
      inError = true;
      addError(
              "Could not create an StatusListener of type [" + className + "].", e);
      throw new ActionException(e);
    }

  }
View Full Code Here

      ec.pushObject(definer);
    } catch (Exception oops) {
      inError = true;
      addError("Could not create an PropertyDefiner of type [" + className
          + "].", oops);
      throw new ActionException(oops);
    }
  }
View Full Code Here

      ic.pushObject(receiver);
    }
    catch (Exception ex) {
      inError = true;
      addError("Could not create a receiver of type [" + className + "].", ex);
      throw new ActionException(ex);
    }
  }
View Full Code Here

    //System.out.println("IncAction Begin called");
    beginCount++;
    String val = attributes.getValue("increment");
    if(!"1".equals(val)) {
      errorCount++;
      throw new ActionException();
    }
  }
View Full Code Here

      type = ACTION_EXCEPTION;
    }
   
    switch(type) {
    case ACTION_EXCEPTION:
      throw new ActionException();
    default:
      throw new IllegalStateException("bad begin");
    }
  
  }
View Full Code Here

         
      ic.pushObject(hook);
    }catch (Exception e) {
      inError = true;
      addError("Could not create a shutdown hook of type [" + className + "].", e);
      throw new ActionException(e);
    }
  }
View Full Code Here

TOP

Related Classes of ch.qos.logback.core.joran.spi.ActionException

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.