Last active
June 28, 2017 00:42
-
-
Save ethanbustad/befc176e3721f296ebe7d50d7f9d9e19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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