0,0 → 1,39 |
package ak.webcontrol.util; |
|
public class FormException |
extends UserException |
{ |
private String property; |
|
public FormException() |
{ |
this(null, null, null); |
} |
|
public FormException(String message) |
{ |
this(message, null, null); |
} |
|
public FormException(String message, String property) |
{ |
this(message, property, null); |
} |
|
public FormException(String message, String property, Object[] values) |
{ |
super(message, values); |
this.property = property; |
} |
|
public String getProperty() |
{ |
return property; |
} |
|
public String toString() |
{ |
return super.toString() |
+ (property == null ? "" : " for " + property); |
} |
} |