Class CompatibilityUnregisteredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException
-
- com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnregisteredException
-
- All Implemented Interfaces:
Serializable
public class CompatibilityUnregisteredException extends CompatibilityException
Exception indicating that a compatibility-provider implementation isn't registered at a time when it is required. This occurs if you sttempt to use an implementation-specific compatibility method such as getProvider() without a provider/implementation having been made available by Compatibility.init() or registerProvider()- Author:
- crashdemons (crashenator at gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompatibilityUnregisteredException(String s)Constructor for unregistered-compatibility exceptionsCompatibilityUnregisteredException(String s, Exception e)Constructor for unregistered-compatibility exceptions
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CompatibilityUnregisteredException
public CompatibilityUnregisteredException(String s, Exception e)
Constructor for unregistered-compatibility exceptions- Parameters:
s- the string message for the exceptione- the exception cause
-
CompatibilityUnregisteredException
public CompatibilityUnregisteredException(String s)
Constructor for unregistered-compatibility exceptions- Parameters:
s- the string message for the exception
-
-