Skip to content

Instantly share code, notes, and snippets.

@ethanbustad
Last active June 28, 2017 00:42
Show Gist options
  • Save ethanbustad/befc176e3721f296ebe7d50d7f9d9e19 to your computer and use it in GitHub Desktop.
Save ethanbustad/befc176e3721f296ebe7d50d7f9d9e19 to your computer and use it in GitHub Desktop.
package com.liferay.alloy.mvc;
public class AlloyException
extends Exception
{
public AlloyException() {}
public AlloyException(String msg)
{
super(msg);
}
public AlloyException(String msg, boolean log) {
super(msg);
this.log = log;
}
public AlloyException(String msg, Object[] arguments) {
super(msg);
this.arguments = arguments;
}
public AlloyException(String msg, Object[] arguments, boolean log, Throwable cause)
{
super(msg, cause);
this.arguments = arguments;
this.log = log;
}
public AlloyException(String msg, Throwable cause) {
super(msg, cause);
}
public AlloyException(Throwable cause) {
super(cause);
}
protected Object[] arguments = null;
protected boolean log = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment