public class DCTException extends Exception
| Constructor and Description |
|---|
DCTException()
Default constructor for defining data dictionary exception
|
DCTException(String key)
A constructor that finds exception string using key.
|
DCTException(String key,
String message)
Throw exception with custom message
|
DCTException(String key,
String[] args)
A constructor that finds the exception string using key and merges arguments.
|
DCTException(String key,
String[] args,
Throwable cause)
A constructor that finds the exception string using key and merges arguments alongwith throwable cause
|
DCTException(String key,
String message,
Throwable cause)
Throw exception with message and cause throwable
|
DCTException(String key,
Throwable cause)
A constructor that finds the exception string using key and cause throwable
|
DCTException(Throwable cause)
Throw exception with cause throwable
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageCode()
Gets the exception code.
|
public DCTException()
public DCTException(String key)
key - key for finding the exception messagepublic DCTException(Throwable cause)
cause - throwable causepublic DCTException(String key, String message)
key - key for finding themessage - custom messagepublic DCTException(String key, String message, Throwable cause)
key - key for finding the exception messagemessage - custom exception messagecause - throwable causepublic DCTException(String key, String[] args)
key - key for finding exception messageargs - arguments to be merged in exception message stringpublic DCTException(String key, Throwable cause)
key - key to find the exception stringcause - throwable causepublic DCTException(String key, String[] args, Throwable cause)
key - key to find exception stringargs - arguments to be merged in exception stringcause - throwable causepublic String getMessageCode()
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.