HyCodeYourTale
classpublicPriority 3

PrefabSaveException

com.hypixel.hytale.server.core.prefab.PrefabSaveException

extends RuntimeException

1

Methods

1

Public Methods

1

Fields

4

Constructors

Constructors

public
PrefabSaveException(PrefabSaveException.Type type)
public
PrefabSaveException(PrefabSaveException.Type type, String message)
public
PrefabSaveException(PrefabSaveException.Type type, String message, Throwable cause)
public
PrefabSaveException(PrefabSaveException.Type type, Throwable cause)

Methods

Public Methods (1)

public
PrefabSaveException.Type getType()

Fields

Private/Package Fields (1)

privatePrefabSaveException.Type type

Inheritance

Parent
Current
Interface
Child

Use mouse wheel to zoom, drag to pan. Click nodes to navigate.

Source Code

package com.hypixel.hytale.server.core.prefab;

public class PrefabSaveException extends RuntimeException {
   private PrefabSaveException.Type type;

   public PrefabSaveException(PrefabSaveException.Type type) {
      this.type = type;
   }

   public PrefabSaveException(PrefabSaveException.Type type, String message) {
      super(message);
      this.type = type;
   }

   public PrefabSaveException(PrefabSaveException.Type type, String message, Throwable cause) {
      super(message, cause);
      this.type = type;
   }

   public PrefabSaveException(PrefabSaveException.Type type, Throwable cause) {
      super(cause);
      this.type = type;
   }

   public PrefabSaveException.Type getType() {
      return this.type;
   }

   public static enum Type {
      ERROR,
      ALREADY_EXISTS;

      private Type() {
      }
   }
}