Class ExceptionHandler


  • public class ExceptionHandler
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean continueOnFail  
      private org.apache.maven.plugin.logging.Log log  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionHandler​(org.apache.maven.plugin.logging.Log log, boolean continueOnFail)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleError​(java.lang.String msg)  
      void handleError​(java.lang.String msg, java.lang.Exception e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        private final org.apache.maven.plugin.logging.Log log
      • continueOnFail

        private final boolean continueOnFail
    • Constructor Detail

      • ExceptionHandler

        public ExceptionHandler​(org.apache.maven.plugin.logging.Log log,
                                boolean continueOnFail)
    • Method Detail

      • handleError

        public void handleError​(java.lang.String msg)
                         throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • handleError

        public void handleError​(java.lang.String msg,
                                java.lang.Exception e)
                         throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException