Code example for Logger

Methods: logp

0
                            new StringReader(serializedSample)), 
                            handler);
            sample = handler.getSample();
        } 
        catch (SAXException e) {
            logger.logp(Level.SEVERE, "SampleDeserializerXML", "deserializeSample", 
                        "SAXException: " + e.getMessage() + 
                        "\nInput string:" + serializedSample);
            throw new TransformationException(e.getMessage());
        } 
        catch (IOException e) {
            logger.logp(Level.SEVERE, "SampleDeserializerXML", "deserializeSample", 
                        "IOException: " + e.getMessage() + 
                        "\nInput string:" + serializedSample);
            throw new TransformationException(e.getMessage());
        } 
        return sample;
    } 
     
    /** 
     * Factory that provides the SAX parser.