public class APLException
extends java.lang.Exception
PDF解析中に以下の問題がある場合、APLExceptionがスローされます。
原因 | メッセージ | 原因の例外 | 原因の例外のメッセージ |
---|---|---|---|
オーナーパスワードが間違っている。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: Input correct owner password. 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: Input correct owner password or user password. |
jp.co.amano.etiming.apl3161.ats.ATSException | Input correct owner password. |
ユーザーパスワードが間違っている。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: Input correct owner password or user password. 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: Input correct owner password or user password. |
jp.co.amano.etiming.apl3161.ats.ATSException | Input correct owner password or user password. |
サポートしていないセキュリティが設定されている。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: Supported Security Handler is Standard Security Handler only. 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: Supported Security Handler is Standard Security Handler only. |
jp.co.amano.etiming.apl3161.ats.ATSException | Supported Security Handler is Standard Security Handler only. |
PDFにサポートしていない標準セキュリティのリビジョンが設定されている。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: Unsupported revision of Standard Security Handler: 「標準セキュリティリビジョンの値」 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: Unsupported revision of Standard Security Handler: 「標準セキュリティリビジョンの値」 |
jp.co.amano.etiming.apl3161.ats.ATSException | Unsupported revision of Standard Security Handler: 「標準セキュリティリビジョンの値」 |
標準セキュリティの鍵長にサポートしていない鍵長が使用されている。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: Unsupported Length value which in the encryption dictionary:「keyLengthの値」 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: Unsupported length of the key for Standard Security Handler: 「keyLengthの値」 |
jp.co.amano.etiming.apl3161.ats.ATSException | Unsupported length of the key for Standard Security Handler: 「keyLengthの値」 |
PDFに未対応のストリームオブジェクトのフィルタが使用されている。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: illegal Filter type 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: illegal Filter type |
jp.co.amano.etiming.apl3161.ats.ATSException | illegal Filter type |
未対応のPDFバージョンのPDF。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: This library supports PDF 1.x and 2.x only. 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: This library supports PDF 1.x and 2.x only. |
jp.co.amano.etiming.apl3161.ats.ATSException | This library supports PDF 1.x and 2.x only. |
不正なPDFファイル。 | 1.処理がタイムスタンプ付与の場合 PDF TimeStamp generation error: Could not read cross-reference stream. (offset: 200) 2.処理が有効期間延長タイムスタンプ付与、タイムスタンプ検証、有効期間延長タイムスタンプ検証の場合 Could not open document: Could not read cross-reference stream. (offset: 200) ※不正内容によって、メッセージは異なります。 |
jp.co.amano.etiming.apl3161.ats.ATSException | Could not read cross-reference stream. (offset: 200) ※不正内容によってメッセージは異なります。 |
コンストラクタと説明 |
---|
APLException()
詳細メッセージを指定しないで APLException を作成します。
|
APLException(java.lang.String message)
指定した詳細メッセージを持つ APLException を作成します。
|
APLException(java.lang.String message,
java.lang.Throwable cause)
指定した詳細メッセージおよび原因を持つ APLException を作成します。
|
APLException(java.lang.Throwable cause)
指定した原因および詳細メッセージ(cause が null の場合は
null、null でない場合は cause.toString())を持つ APLException を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
java.lang.Throwable |
getCause()
例外の原因または null (原因が存在しないか未知の場合)
を返します。
|
public APLException()
public APLException(java.lang.String message)
message
- 詳細メッセージ。存在しない場合は null。public APLException(java.lang.String message, java.lang.Throwable cause)
message
- 詳細メッセージ。存在しない場合は null。cause
- 原因。存在しない場合は null。public APLException(java.lang.Throwable cause)
cause
- 原因。存在しない場合は null。Copyright(C) 2005-2023 AMANO Corporation. All Rights Reserved.