PasswordRequiredException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException

public final class PasswordRequiredException extends GroupDocsConversionException

GroupDocs exception thrown when the file is password protected and password is not provided

Constructors

Constructor Description
PasswordRequiredException() Default constructor
PasswordRequiredException(FileType fileType) Creates an exception instance with a FileType
PasswordRequiredException(String message) Creates an exception instance with a message

PasswordRequiredException()

public PasswordRequiredException()

Default constructor

PasswordRequiredException(FileType fileType)

public PasswordRequiredException(FileType fileType)

Creates an exception instance with a FileType

Parameters:

Parameter Type Description
fileType FileType The file type

PasswordRequiredException(String message)

public PasswordRequiredException(String message)

Creates an exception instance with a message

Parameters:

Parameter Type Description
message java.lang.String The message