Package net.sf.jlogmicro.util.logging

Examples of net.sf.jlogmicro.util.logging.Logger.severe()


          "RecordStoreNotFoundException " + RECORD_STORE_NAME, e);
      //#endif
    } catch (RecordStoreException e) {
      //#ifdef DLOGGING
      Logger logger = Logger.getLogger("Settings");
      logger.severe("Cannot deleteRecordStore RecordStoreException " +
          RECORD_STORE_NAME, e);
      //#endif
    }
  }
  //#endif
View Full Code Here


      convTable[0x9E - 0x80] = 0x017E; //LATIN SMALL LETTER Z WITH CARON
      convTable[0x9F - 0x80] = 0x0178; //LATIN CAPITAL LETTER Y WITH DIAERESIS
    } catch (Throwable t) {
      //#ifdef DLOGGING
      Logger logger = Logger.getLogger("EncodingUtil");
      logger.severe("initWinIsoConv", t);
      //#endif
    }
    return convTable;
  }
View Full Code Here

        }
      }
    } catch (Throwable t) {
      //#ifdef DLOGGING
      Logger logger = Logger.getLogger("EncodingUtil");
      logger.severe("initUniWinConvx80", t);
      //#endif
    }
    return convTable;
  }
View Full Code Here

        //#ifdef DTEST
        System.out.println( "Unsupported encoding Cp1252");
        //#endif
        //#ifdef DLOGGING
        Logger logger = Logger.getLogger("EncodingUtil");
        logger.severe("UnsupportedEncodingException Cp1252", e);
        //#endif
        try {
          String convStr2 = new String(blftSgl, "Cp1252");
          rtn = convStr2.charAt(0) == CLEFT_SGL_QUOTE;
        } catch (UnsupportedEncodingException e2) {
View Full Code Here

        } catch (UnsupportedEncodingException e2) {
          //#ifdef DTEST
          System.out.println( "Unsupported encoding WINDOWS-1252");
          //#endif
          //#ifdef DLOGGING
          logger.severe("UnsupportedEncodingException Cp1252", e2);
          //#endif
        }
      }
      //#ifdef DTEST
      System.out.println( "initConvWinUni()=" + rtn);
View Full Code Here

      System.out.println( "initConvWinUni()=" + rtn);
      //#endif
    } catch (Throwable t) {
      //#ifdef DLOGGING
      Logger logger = Logger.getLogger("EncodingUtil");
      logger.severe("initConvWinUni", t);
      //#endif
    }
    return rtn;
  }
View Full Code Here

        //#ifdef DTEST
        System.out.println( "Unsupported encoding ISO8859_1");
        //#endif
        //#ifdef DLOGGING
        Logger logger = Logger.getLogger("EncodingUtil");
        logger.severe("initIsoEncoding UnsupportedEncodingException ISO8859_1", e);
        //#endif
        try {
          String convStr2 = new String("a".getBytes(), "ISO-8859-1");
          return "ISO-8859-1";
        } catch (UnsupportedEncodingException e2) {
View Full Code Here

        } catch (UnsupportedEncodingException e2) {
          //#ifdef DTEST
          System.out.println("initIsoEncoding Unsupported encoding ISO-8859-1");
          //#endif
          //#ifdef DLOGGING
          logger.severe("initIsoEncoding UnsupportedEncodingException ISO-8859-1", e2);
          //#endif
        }
      }
    } catch (Throwable t) {
      //#ifdef DLOGGING
View Full Code Here

        }
      }
    } catch (Throwable t) {
      //#ifdef DLOGGING
      Logger logger = Logger.getLogger("EncodingUtil");
      logger.severe("initIsoEncoding initConvWinUni", t);
      //#endif
    }
    return "ISO8859_1";
  }
View Full Code Here

        //#ifdef DTEST
        System.out.println(ce.getMessage());
        //#endif
        //#ifdef DLOGGING
        Logger logger = Logger.getLogger("EncodingUtil");
        logger.severe(ce.getMessage(), e);
        //#endif
        try {
          String convStr2 = new String("a".getBytes(), "WINDOWS-1252");
          return "WINDOWS-1252";
        } catch (UnsupportedEncodingException e2) {
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.