> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: PHXNoSuchCategoryException

**Package:** `com.phoenix_int.aserver.library`

**Class Hierarchy**

```text theme={null}
↳ java.lang.Object
  ↳ java.lang.Throwable
    ↳ java.lang.Exception
      ↳ com.phoenix_int.aserver.library.PHXNoSuchCategoryException
```

**Implemented Interfaces**

* `java.io.Serializable`

***

**Declaration**

```java theme={null}
public class PHXNoSuchCategoryException
extends java.lang.Exception
```

An exception that is thrown when an invalid class category is specified.

## See Also

* [Serialized Form](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/serialized-form.md)

## 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

```java theme={null}
public PHXNoSuchCategoryException(java.lang.String category)
```

**Parameters:**

* `category` - The category name that was invalid

### PHXNoSuchCategoryException

```java theme={null}
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

```java theme={null}
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

```java theme={null}
public java.lang.String getInvalidCategory()
```

Retrieves the category name that was invalid

**Returns:**

* The invalid category name
