Packages com.phoenixplugins.phoenixcrates.api crate exceptions

Class CrateOpeningException

All Implemented Interfaces:
Serializable

public class CrateOpeningException extends Exception
Exception thrown when a crate cannot be opened successfully.

Contains information about whether knockback effects should be applied when this exception occurs.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CrateOpeningException(String message)
    Constructs a new CrateOpeningException with the specified message.
    CrateOpeningException(String message, boolean knockbackActive)
    Constructs a new CrateOpeningException with the specified message and knockback state.
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CrateOpeningException

      public CrateOpeningException(String message)
      Constructs a new CrateOpeningException with the specified message.
      Parameters:
      message - the detail message
    • CrateOpeningException

      public CrateOpeningException(String message, boolean knockbackActive)
      Constructs a new CrateOpeningException with the specified message and knockback state.
      Parameters:
      message - the detail message
      knockbackActive - whether knockback should be applied
Last updated 10 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping