< prev index next >

test/javax/xml/jaxp/functional/javax/xml/transform/ptests/ErrorListenerTest.java

Print this page




  87     }
  88 
  89     /**
  90      * Set status as WARNING when receiving notification of a warning.
  91      * @param e The error information encapsulated in a transformer exception.
  92      */
  93     @Override
  94     public void warning (TransformerException e) {
  95         this.status = ListenerStatus.WARNING;
  96     }
  97 
  98     /**
  99      * Set status as FATAL when receiving notification of a non-recoverable error.
 100      * @param e The error information encapsulated in a transformer exception.
 101      */
 102     @Override
 103     public void fatalError (TransformerException e) {
 104         this.status = ListenerStatus.FATAL;
 105     }
 106 }
 107 
 108 


  87     }
  88 
  89     /**
  90      * Set status as WARNING when receiving notification of a warning.
  91      * @param e The error information encapsulated in a transformer exception.
  92      */
  93     @Override
  94     public void warning (TransformerException e) {
  95         this.status = ListenerStatus.WARNING;
  96     }
  97 
  98     /**
  99      * Set status as FATAL when receiving notification of a non-recoverable error.
 100      * @param e The error information encapsulated in a transformer exception.
 101      */
 102     @Override
 103     public void fatalError (TransformerException e) {
 104         this.status = ListenerStatus.FATAL;
 105     }
 106 }


< prev index next >