org.apache.maven.shared.scriptinterpreter
Class RunErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.shared.scriptinterpreter.RunFailureException
              extended by org.apache.maven.shared.scriptinterpreter.RunErrorException
All Implemented Interfaces:
Serializable

public class RunErrorException
extends RunFailureException

Signals an error in a sub build run by the Invoker Plugin. This can be caused by a selector/pre-build script throwing an exception or an error in forking the Maven build itself.

Version:
$Id: RunErrorException.java 1199475 2011-11-08 21:51:13Z olamy $
Author:
Stephen Connolly
See Also:
Serialized Form

Constructor Summary
RunErrorException(String message, String type, Throwable cause)
          Creates a new exception with the specified detail message.
 
Method Summary
 
Methods inherited from class org.apache.maven.shared.scriptinterpreter.RunFailureException
getType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunErrorException

public RunErrorException(String message,
                         String type,
                         Throwable cause)
Creates a new exception with the specified detail message.

Parameters:
message - The detail message, may be null.
type - The type of build failure, may not be null.
cause - The cause of the build error.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.