js.wood.WoodException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wood Show documentation
Show all versions of wood Show documentation
WOOD tool promotes an object oriented development paradigm for user interfaces based on web technologies. It uses decomposition of complex user interfaces into user interface components.
package js.wood;
import js.util.Strings;
/**
* Thrown whenever building or preview process fails to complete.
*
* @author Iulian Rotaru
* @since 1.0
*/
public class WoodException extends RuntimeException
{
/** Java serialization version. */
private static final long serialVersionUID = 339924983961782597L;
/**
* Create exception instance with formatted message.
*
* @param message formatted message,
* @param args optional arguments for formatted message.
*/
public WoodException(String message, Object... args)
{
super(Strings.format(message, args));
}
/**
* Create exception instance with given cause.
*
* @param cause exception cause.
*/
public WoodException(Throwable cause)
{
super(cause);
}
}