GroupDocsViewerException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException

public class GroupDocsViewerException extends GroupDocsException

This exception represents generic errors that can occur during document processing. It is a broad exception that indicates an error or failure, but does not provide specific details about the nature of the error.

Constructors

Constructor Description
GroupDocsViewerException(String message) Initializes a new instance of the GroupDocsViewerException class with a specified error message.
GroupDocsViewerException(Throwable cause) Initializes a new instance of the GroupDocsViewerException class with a cause of the exception.
GroupDocsViewerException(String message, Throwable throwable) Initializes a new instance of the GroupDocsViewerException class with a specified error message.

Methods

Method Description
toString()

GroupDocsViewerException(String message)

public GroupDocsViewerException(String message)

Initializes a new instance of the GroupDocsViewerException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String The message that describes the error.

GroupDocsViewerException(Throwable cause)

public GroupDocsViewerException(Throwable cause)

Initializes a new instance of the GroupDocsViewerException class with a cause of the exception.

Parameters:

Parameter Type Description
cause java.lang.Throwable The cause of the exception.

GroupDocsViewerException(String message, Throwable throwable)

public GroupDocsViewerException(String message, Throwable throwable)

Initializes a new instance of the GroupDocsViewerException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String The message that describes the error.
throwable java.lang.Throwable The throwable that caused the exception.

toString()

public String toString()

Returns: java.lang.String