Class: PHXNoSuchCategoryException
Last update: 22.06.2026Package: com.phoenix_int.aserver.library
Class Hierarchy
↳ java.lang.Object
↳ java.lang.Throwable
↳ java.lang.Exception
↳ com.phoenix_int.aserver.library.PHXNoSuchCategoryException
Implemented Interfaces
java.io.Serializable
Declaration
public class PHXNoSuchCategoryException
extends java.lang.Exception
An exception that is thrown when an invalid class category is specified.
See Also
Constructor Summary
| Constructor and Description |
|---|
PHXNoSuchCategoryException(java.lang.String category) |
PHXNoSuchCategoryException(java.lang.String msg, java.lang.String category)Constructor for this exception containing both a specific message and the category which could not be found. |
PHXNoSuchCategoryException(java.lang.String msg, java.lang.String category, java.lang.Exception ex)Constructor which takes a message, a category, and an inner exception. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInvalidCategory()Retrieves the category name that was invalid |
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 Detail
PHXNoSuchCategoryException
public PHXNoSuchCategoryException(java.lang.String category)
Parameters:
category- The category name that was invalid
PHXNoSuchCategoryException
public PHXNoSuchCategoryException(java.lang.String msg,
java.lang.String category)
Constructor for this exception containing both a specific message and the category which could not be found.
Parameters:
msg- The message associated with this exception.category- The category which couldn't be found.
PHXNoSuchCategoryException
public PHXNoSuchCategoryException(java.lang.String msg,
java.lang.String category,
java.lang.Exception ex)
Constructor which takes a message, a category, and an inner exception.
Parameters:
msg- The message associated with this specific exception.category- The category which could not be found.ex- The inner exception.
Method Detail
getInvalidCategory
public java.lang.String getInvalidCategory()
Retrieves the category name that was invalid
Returns:
- The invalid category name