com.aspose.pub.exceptions

Class ExceptionMessage



  • public class ExceptionMessage
    extends Object
    • Field Detail

      • IncorrectVersionOfPubFormat

        public static final ExceptionMessage IncorrectVersionOfPubFormat
      • ErrorParsingPropertySet

        public static final ExceptionMessage ErrorParsingPropertySet
      • IncorrectByteOrderInInformationStream

        public static final ExceptionMessage IncorrectByteOrderInInformationStream
      • IncorrectVersionInInformationStream

        public static final ExceptionMessage IncorrectVersionInInformationStream
      • IncorrectNumberOfPropertySetsInInformationStream

        public static final ExceptionMessage IncorrectNumberOfPropertySetsInInformationStream
      • IncorrectPropertySetIdentifierInInformationStream

        public static final ExceptionMessage IncorrectPropertySetIdentifierInInformationStream
      • RequestedStreamIsMissing

        public static final ExceptionMessage RequestedStreamIsMissing
      • RequestedStreamIsCorrupted

        public static final ExceptionMessage RequestedStreamIsCorrupted
      • IncorrectSignatureOfPubVersionBytes

        public static final ExceptionMessage IncorrectSignatureOfPubVersionBytes
      • KeyIsAbsentInStreamDictionary

        public static final ExceptionMessage KeyIsAbsentInStreamDictionary
      • IncorrectOffsetInTextLengthsArray

        public static final ExceptionMessage IncorrectOffsetInTextLengthsArray
      • OffsetValueForTextIsOutOfTextBoundsAllowed

        public static final ExceptionMessage OffsetValueForTextIsOutOfTextBoundsAllowed
      • IndexOfTextStylesArrayIsOutOfBounds

        public static final ExceptionMessage IndexOfTextStylesArrayIsOutOfBounds
      • IndexOfParagraphStylesArrayIsOutOfBounds

        public static final ExceptionMessage IndexOfParagraphStylesArrayIsOutOfBounds
      • CannotReadDefaultStyleData

        public static final ExceptionMessage CannotReadDefaultStyleData
      • NumberOfDefaultStylesIsIncorrect

        public static final ExceptionMessage NumberOfDefaultStylesIsIncorrect
      • GeometricFigureEmptyParameter

        public static final ExceptionMessage GeometricFigureEmptyParameter
      • CannotCreatePdfFontWithName

        public static final ExceptionMessage CannotCreatePdfFontWithName
    • Method Detail

      • getMessage

        public final String getMessage()

        Get exception message.

        Returns:
        String value
      • getCategory

        public final ExceptionCategory getCategory()

        Get exception category.

        Returns:
        ExceptionCategory instance
      • to_ExceptionMessage

        public static ExceptionMessage to_ExceptionMessage(String key)

        Performs an explicit conversion from String to ExceptionMessage.

        Parameters:
        key - The exception message:category key.
        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.