Type enum

Пакет: com.hypixel.hytale.server.core.prefab

Файл: com/hypixel/hytale/server/core/prefab/PrefabSaveException.java

Поля (1)

МодификаторыТипИмя
ERROR, ALREADY_EXISTS

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.server.core.prefab;

class="kw">public class PrefabSaveException class="kw">extends RuntimeException {
   class="kw">private PrefabSaveException.Type type;

   class="kw">public PrefabSaveException(PrefabSaveException.Type var1) {
      this.type = var1;
   }

   class="kw">public PrefabSaveException(PrefabSaveException.Type var1, String var2) {
      super(var2);
      this.type = var1;
   }

   class="kw">public PrefabSaveException(PrefabSaveException.Type var1, String var2, Throwable var3) {
      super(var2, var3);
      this.type = var1;
   }

   class="kw">public PrefabSaveException(PrefabSaveException.Type var1, Throwable var2) {
      super(var2);
      this.type = var1;
   }

   class="kw">public PrefabSaveException.Type getType() {
      class="kw">return this.type;
   }

   class="kw">public enum Type {
      ERROR,
      ALREADY_EXISTS;

      Type() {
      }
   }
}