net.dpml.tools
Class BuildError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by net.dpml.tools.BuildError
All Implemented Interfaces:
Serializable

public class BuildError
extends Error

A BuildError is thrown when a fatal error occurs during build execution.

Version:
1.1.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
BuildError(String message)
          Creation of a new BuildError.
BuildError(String message, Throwable cause)
          Creation of a new BuildError.
BuildError(String message, Throwable cause, Location location)
          Creation of a new BuildError.
 
Method Summary
 Location getLocation()
          Return the location of the build error.
 
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

BuildError

public BuildError(String message)
Creation of a new BuildError.

Parameters:
message - the exception message

BuildError

public BuildError(String message,
                  Throwable cause)
Creation of a new BuildError.

Parameters:
message - the exception message
cause - the causal exception

BuildError

public BuildError(String message,
                  Throwable cause,
                  Location location)
Creation of a new BuildError.

Parameters:
message - the exception message
cause - the causal exception
location - the location of the error
Method Detail

getLocation

public Location getLocation()
Return the location of the build error.

Returns:
the build location