EOS 2  1.1.0
Einfache Objektbasierte Sprache
DoublePropertyDeclarationException.java
gehe zur Dokumentation dieser Datei
1 package de.lathanda.eos.baseparser.exceptions;
2 
3 import de.lathanda.eos.baseparser.text.Text;
4 
10 public class DoublePropertyDeclarationException extends RuntimeException {
11 
15  private static final long serialVersionUID = -8475409666820140095L;
16  private final String cls;
17  private final String property;
18 
19  public DoublePropertyDeclarationException(String property, String cls) {
20  this.cls = cls;
21  this.property = property;
22  }
23 
24  @Override
25  public String getLocalizedMessage() {
26  return Text.ERROR.formatMessage("DoublePropertyDef", property, cls);
27  }
28 }
String formatMessage(String id, Object... info)
Definition: Messages.java:21
static final Messages ERROR
Definition: Text.java:8
Impressum