EOS 2  1.1.0
Einfache Objektbasierte Sprache
LibException.java
gehe zur Dokumentation dieser Datei
1 package de.lathanda.eos.geo.exceptions;
2 
3 import static de.lathanda.eos.geo.text.Text.ERROR;
4 public class LibException extends RuntimeException {
5  private static final long serialVersionUID = 5681484621769034552L;
6  private final String localMessage;
7 
8  public LibException(String errorID) {
9  localMessage = ERROR.getString(errorID);
10  }
11 
12  @Override
13  public String getLocalizedMessage() {
14  return localMessage;
15  }
16 }
Impressum