com.aspose.pub.exceptions

Class ExceptionCategory



  • public class ExceptionCategory
    extends Object
    Represents ExceptionCategory instance
    • Field Detail

      • PubFormat

        public static final ExceptionCategory PubFormat

        Category for PUB format exception

      • Convert

        public static final ExceptionCategory Convert

        Category for conversion exception

    • Method Detail

      • getCategory

        public final String getCategory()

        Get exception category.

        Returns:
        String value
      • to_ExceptionCategory

        public static ExceptionCategory to_ExceptionCategory(String category)

        Performs an explicit conversion from String to ExceptionCategory.

        Parameters:
        category - The exception category.
        Returns:
        The result of the conversion.
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        String that represents the current object.