Skip to content

Commit 668b0ca

Browse files
author
yevgen-nykytenko
committed
Update content 2026-01-02 06:02:26
1 parent 4044501 commit 668b0ca

File tree

82 files changed

+3658
-423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+3658
-423
lines changed

english/nodejs-java/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ is_root: true
1212
| [com.groupdocs.viewer](./com.groupdocs.viewer) | The package provides classes for rendering documents in HTML5, Image, or PDF modes with fast and high-quality results. |
1313
| [com.groupdocs.viewer.caching](./com.groupdocs.viewer.caching) | The package provides classes for customizing caching behavior. |
1414
| [com.groupdocs.viewer.caching.extra](./com.groupdocs.viewer.caching.extra) | The package provides functionality for using custom models in cache implementation. |
15+
| [com.groupdocs.viewer.exception](./com.groupdocs.viewer.exception) | The package provides classes for exceptions that can occur while working with a document. |
1516
| [com.groupdocs.viewer.fonts](./com.groupdocs.viewer.fonts) | The package provides classes and enumerations to manage fonts used during the rendering process. |
17+
| [com.groupdocs.viewer.interfaces](./com.groupdocs.viewer.interfaces) | The package provides interfaces for instantiating and releasing the output document and its resources. |
1618
| [com.groupdocs.viewer.logging](./com.groupdocs.viewer.logging) | The package provides classes for configuring the logging system in GroupDocs.Viewer. |
1719
| [com.groupdocs.viewer.options](./com.groupdocs.viewer.options) | The package provides classes to specify additional options when rendering documents. |
1820
| [com.groupdocs.viewer.results](./com.groupdocs.viewer.results) | The package provides classes and interfaces that represent document rendering results. |
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: com.groupdocs.viewer.exception
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: The package provides classes for exceptions that can occur while working with a document.
5+
type: docs
6+
weight: 13
7+
url: /nodejs-java/com.groupdocs.viewer.exception/
8+
---
9+
10+
The package provides classes for exceptions that can occur while working with a document.
11+
12+
The main classes in this package are:
13+
14+
* com.groupdocs.viewer.exception.ArchiveSecurityException - Thrown when an archive being opened exceeds specified limits.
15+
* [FileNotFoundException](../../com.groupdocs.viewer.exception/filenotfoundexception) - Represents an exception thrown when a file or directory is not found.
16+
* [GroupDocsViewerException](../../com.groupdocs.viewer.exception/groupdocsviewerexception) - Represents generic errors that occur during document processing.
17+
18+
For more details on working with exceptions in GroupDocs.Viewer, please refer to the [GroupDocs.Viewer Documentation][].
19+
20+
21+
[GroupDocs.Viewer Documentation]: https://docs.groupdocs.com/viewer/java/
22+
23+
24+
## Classes
25+
26+
| Class | Description |
27+
| --- | --- |
28+
| [ArchiveSecurityException](../com.groupdocs.viewer.exception/archivesecurityexception) | This exception is thrown when an archive being opened exceeds any of the limits specified in the ArchiveSecurityOptions. |
29+
| [FileNotFoundException](../com.groupdocs.viewer.exception/filenotfoundexception) | This exception is thrown when a file or directory is not found. |
30+
| [GroupDocsViewerException](../com.groupdocs.viewer.exception/groupdocsviewerexception) | This exception represents generic errors that can occur during document processing. |
31+
| [IncorrectPasswordException](../com.groupdocs.viewer.exception/incorrectpasswordexception) | This exception is thrown when the specified password is incorrect. |
32+
| [NotSupportedException](../com.groupdocs.viewer.exception/notsupportedexception) | This exception is thrown when the requested operation is not supported. |
33+
| [PasswordRequiredException](../com.groupdocs.viewer.exception/passwordrequiredexception) | This exception is thrown when a password is required to load the document. |
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: ArchiveSecurityException
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: This exception is thrown when an archive being opened exceeds any of the limits specified in the ArchiveSecurityOptions.
5+
type: docs
6+
weight: 10
7+
url: /nodejs-java/com.groupdocs.viewer.exception/archivesecurityexception/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, [com.groupdocs.viewer.exception.GroupDocsViewerException](../../com.groupdocs.viewer.exception/groupdocsviewerexception)
11+
```
12+
public class ArchiveSecurityException extends GroupDocsViewerException
13+
```
14+
15+
This exception is thrown when an archive being opened exceeds any of the limits specified in the ArchiveSecurityOptions.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [ArchiveSecurityException(String message)](#ArchiveSecurityException-java.lang.String-) | Creates an instance of the ArchiveSecurityException class with the specified message. |
21+
### ArchiveSecurityException(String message) {#ArchiveSecurityException-java.lang.String-}
22+
```
23+
public ArchiveSecurityException(String message)
24+
```
25+
26+
27+
Creates an instance of the ArchiveSecurityException class with the specified message.
28+
29+
**Parameters:**
30+
| Parameter | Type | Description |
31+
| --- | --- | --- |
32+
| message | java.lang.String | The message. |
33+
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: FileNotFoundException
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: This exception is thrown when a file or directory is not found.
5+
type: docs
6+
weight: 11
7+
url: /nodejs-java/com.groupdocs.viewer.exception/filenotfoundexception/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, [com.groupdocs.viewer.exception.GroupDocsViewerException](../../com.groupdocs.viewer.exception/groupdocsviewerexception)
11+
```
12+
public class FileNotFoundException extends GroupDocsViewerException
13+
```
14+
15+
This exception is thrown when a file or directory is not found. It indicates that the specified file or directory does not exist or cannot be accessed.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [FileNotFoundException(String message)](#FileNotFoundException-java.lang.String-) | Creates an instance of the FileNotFoundException class with the specified message. |
21+
| [FileNotFoundException(Path path)](#FileNotFoundException-java.nio.file.Path-) | Initializes a new instance of the FileNotFoundException class with a specified file path. |
22+
| [FileNotFoundException(String messageTemplate, Object[] params)](#FileNotFoundException-java.lang.String-java.lang.Object...-) | Creates a new instance of the FileNotFoundException class with a specified error message. |
23+
| [FileNotFoundException(Throwable cause)](#FileNotFoundException-java.lang.Throwable-) | Instantiates a new instance of the FileNotFoundException class. |
24+
| [FileNotFoundException(String message, Throwable throwable)](#FileNotFoundException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the FileNotFoundException class with a specified error message. |
25+
### FileNotFoundException(String message) {#FileNotFoundException-java.lang.String-}
26+
```
27+
public FileNotFoundException(String message)
28+
```
29+
30+
31+
Creates an instance of the FileNotFoundException class with the specified message.
32+
33+
**Parameters:**
34+
| Parameter | Type | Description |
35+
| --- | --- | --- |
36+
| message | java.lang.String | The message that describes the error. |
37+
38+
### FileNotFoundException(Path path) {#FileNotFoundException-java.nio.file.Path-}
39+
```
40+
public FileNotFoundException(Path path)
41+
```
42+
43+
44+
Initializes a new instance of the FileNotFoundException class with a specified file path.
45+
46+
**Parameters:**
47+
| Parameter | Type | Description |
48+
| --- | --- | --- |
49+
| path | java.nio.file.Path | The path of the file that does not exist. |
50+
51+
### FileNotFoundException(String messageTemplate, Object[] params) {#FileNotFoundException-java.lang.String-java.lang.Object...-}
52+
```
53+
public FileNotFoundException(String messageTemplate, Object[] params)
54+
```
55+
56+
57+
Creates a new instance of the FileNotFoundException class with a specified error message.
58+
59+
**Parameters:**
60+
| Parameter | Type | Description |
61+
| --- | --- | --- |
62+
| messageTemplate | java.lang.String | The message that describes the error. |
63+
| params | java.lang.Object[] | The parameters that will be set into the error message. |
64+
65+
### FileNotFoundException(Throwable cause) {#FileNotFoundException-java.lang.Throwable-}
66+
```
67+
public FileNotFoundException(Throwable cause)
68+
```
69+
70+
71+
Instantiates a new instance of the FileNotFoundException class.
72+
73+
**Parameters:**
74+
| Parameter | Type | Description |
75+
| --- | --- | --- |
76+
| cause | java.lang.Throwable | The cause of the exception. |
77+
78+
### FileNotFoundException(String message, Throwable throwable) {#FileNotFoundException-java.lang.String-java.lang.Throwable-}
79+
```
80+
public FileNotFoundException(String message, Throwable throwable)
81+
```
82+
83+
84+
Initializes a new instance of the FileNotFoundException class with a specified error message.
85+
86+
**Parameters:**
87+
| Parameter | Type | Description |
88+
| --- | --- | --- |
89+
| message | java.lang.String | The message that describes the error. |
90+
| throwable | java.lang.Throwable | The throwable that caused the exception. |
91+
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: GroupDocsViewerException
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: This exception represents generic errors that can occur during document processing.
5+
type: docs
6+
weight: 12
7+
url: /nodejs-java/com.groupdocs.viewer.exception/groupdocsviewerexception/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException
11+
```
12+
public class GroupDocsViewerException extends GroupDocsException
13+
```
14+
15+
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.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [GroupDocsViewerException(String message)](#GroupDocsViewerException-java.lang.String-) | Initializes a new instance of the GroupDocsViewerException class with a specified error message. |
21+
| [GroupDocsViewerException(Throwable cause)](#GroupDocsViewerException-java.lang.Throwable-) | Initializes a new instance of the GroupDocsViewerException class with a cause of the exception. |
22+
| [GroupDocsViewerException(String message, Throwable throwable)](#GroupDocsViewerException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the GroupDocsViewerException class with a specified error message. |
23+
## Methods
24+
25+
| Method | Description |
26+
| --- | --- |
27+
| [toString()](#toString--) | |
28+
### GroupDocsViewerException(String message) {#GroupDocsViewerException-java.lang.String-}
29+
```
30+
public GroupDocsViewerException(String message)
31+
```
32+
33+
34+
Initializes a new instance of the GroupDocsViewerException class with a specified error message.
35+
36+
**Parameters:**
37+
| Parameter | Type | Description |
38+
| --- | --- | --- |
39+
| message | java.lang.String | The message that describes the error. |
40+
41+
### GroupDocsViewerException(Throwable cause) {#GroupDocsViewerException-java.lang.Throwable-}
42+
```
43+
public GroupDocsViewerException(Throwable cause)
44+
```
45+
46+
47+
Initializes a new instance of the GroupDocsViewerException class with a cause of the exception.
48+
49+
**Parameters:**
50+
| Parameter | Type | Description |
51+
| --- | --- | --- |
52+
| cause | java.lang.Throwable | The cause of the exception. |
53+
54+
### GroupDocsViewerException(String message, Throwable throwable) {#GroupDocsViewerException-java.lang.String-java.lang.Throwable-}
55+
```
56+
public GroupDocsViewerException(String message, Throwable throwable)
57+
```
58+
59+
60+
Initializes a new instance of the GroupDocsViewerException class with a specified error message.
61+
62+
**Parameters:**
63+
| Parameter | Type | Description |
64+
| --- | --- | --- |
65+
| message | java.lang.String | The message that describes the error. |
66+
| throwable | java.lang.Throwable | The throwable that caused the exception. |
67+
68+
### toString() {#toString--}
69+
```
70+
public String toString()
71+
```
72+
73+
74+
75+
76+
**Returns:**
77+
java.lang.String
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: IncorrectPasswordException
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: This exception is thrown when the specified password is incorrect.
5+
type: docs
6+
weight: 13
7+
url: /nodejs-java/com.groupdocs.viewer.exception/incorrectpasswordexception/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, [com.groupdocs.viewer.exception.GroupDocsViewerException](../../com.groupdocs.viewer.exception/groupdocsviewerexception)
11+
```
12+
public class IncorrectPasswordException extends GroupDocsViewerException
13+
```
14+
15+
This exception is thrown when the specified password is incorrect. This exception is typically thrown when attempting to access or decrypt a protected document with an invalid password.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [IncorrectPasswordException()](#IncorrectPasswordException--) | Initializes a new instance of the IncorrectPasswordException class. |
21+
| [IncorrectPasswordException(String message, Throwable throwable)](#IncorrectPasswordException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the IncorrectPasswordException class with a specified error message. |
22+
### IncorrectPasswordException() {#IncorrectPasswordException--}
23+
```
24+
public IncorrectPasswordException()
25+
```
26+
27+
28+
Initializes a new instance of the IncorrectPasswordException class.
29+
30+
### IncorrectPasswordException(String message, Throwable throwable) {#IncorrectPasswordException-java.lang.String-java.lang.Throwable-}
31+
```
32+
public IncorrectPasswordException(String message, Throwable throwable)
33+
```
34+
35+
36+
Initializes a new instance of the IncorrectPasswordException class with a specified error message.
37+
38+
**Parameters:**
39+
| Parameter | Type | Description |
40+
| --- | --- | --- |
41+
| message | java.lang.String | The message. |
42+
| throwable | java.lang.Throwable | The throwable. |
43+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: NotSupportedException
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: This exception is thrown when the requested operation is not supported.
5+
type: docs
6+
weight: 14
7+
url: /nodejs-java/com.groupdocs.viewer.exception/notsupportedexception/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, [com.groupdocs.viewer.exception.GroupDocsViewerException](../../com.groupdocs.viewer.exception/groupdocsviewerexception)
11+
```
12+
public class NotSupportedException extends GroupDocsViewerException
13+
```
14+
15+
This exception is thrown when the requested operation is not supported. It indicates that the current operation is not supported by the underlying system or implementation.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [NotSupportedException(String message)](#NotSupportedException-java.lang.String-) | Initializes a new instance of the NotSupportedException class with a specified error message. |
21+
| [NotSupportedException(String message, Throwable throwable)](#NotSupportedException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the NotSupportedException class with a specified error message and the cause of the exception. |
22+
### NotSupportedException(String message) {#NotSupportedException-java.lang.String-}
23+
```
24+
public NotSupportedException(String message)
25+
```
26+
27+
28+
Initializes a new instance of the NotSupportedException class with a specified error message.
29+
30+
**Parameters:**
31+
| Parameter | Type | Description |
32+
| --- | --- | --- |
33+
| message | java.lang.String | The message. |
34+
35+
### NotSupportedException(String message, Throwable throwable) {#NotSupportedException-java.lang.String-java.lang.Throwable-}
36+
```
37+
public NotSupportedException(String message, Throwable throwable)
38+
```
39+
40+
41+
Initializes a new instance of the NotSupportedException class with a specified error message and the cause of the exception.
42+
43+
**Parameters:**
44+
| Parameter | Type | Description |
45+
| --- | --- | --- |
46+
| message | java.lang.String | The message. |
47+
| throwable | java.lang.Throwable | The throwable. |
48+
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: PasswordRequiredException
3+
second_title: GroupDocs.Viewer for Node.js via Java API Reference
4+
description: This exception is thrown when a password is required to load the document.
5+
type: docs
6+
weight: 15
7+
url: /nodejs-java/com.groupdocs.viewer.exception/passwordrequiredexception/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, [com.groupdocs.viewer.exception.GroupDocsViewerException](../../com.groupdocs.viewer.exception/groupdocsviewerexception)
11+
```
12+
public class PasswordRequiredException extends GroupDocsViewerException
13+
```
14+
15+
This exception is thrown when a password is required to load the document. This exception typically occurs when attempting to load or open a document that is encrypted or password-protected without providing valid password.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [PasswordRequiredException()](#PasswordRequiredException--) | Initializes a new instance of the PasswordRequiredException class. |
21+
| [PasswordRequiredException(String message)](#PasswordRequiredException-java.lang.String-) | Initializes a new instance of the PasswordRequiredException class with a custom exception message. |
22+
| [PasswordRequiredException(String message, Throwable throwable)](#PasswordRequiredException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the PasswordRequiredException class with a specified error message. |
23+
### PasswordRequiredException() {#PasswordRequiredException--}
24+
```
25+
public PasswordRequiredException()
26+
```
27+
28+
29+
Initializes a new instance of the PasswordRequiredException class.
30+
31+
### PasswordRequiredException(String message) {#PasswordRequiredException-java.lang.String-}
32+
```
33+
public PasswordRequiredException(String message)
34+
```
35+
36+
37+
Initializes a new instance of the PasswordRequiredException class with a custom exception message.
38+
39+
**Parameters:**
40+
| Parameter | Type | Description |
41+
| --- | --- | --- |
42+
| message | java.lang.String | |
43+
44+
### PasswordRequiredException(String message, Throwable throwable) {#PasswordRequiredException-java.lang.String-java.lang.Throwable-}
45+
```
46+
public PasswordRequiredException(String message, Throwable throwable)
47+
```
48+
49+
50+
Initializes a new instance of the PasswordRequiredException class with a specified error message.
51+
52+
**Parameters:**
53+
| Parameter | Type | Description |
54+
| --- | --- | --- |
55+
| message | java.lang.String | The message. |
56+
| throwable | java.lang.Throwable | The throwable. |
57+

0 commit comments

Comments
 (0)