OdpException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception

public class OdpException extends System.Exception

Represents a standard internal exception type.

Constructors

ConstructorDescription
OdpException()Default constructor
OdpException(String message)Constructor allowing a message to be added to this exception.
OdpException(String message, RuntimeException exception)Constructor for an exception containing a message and an embedded exception.

OdpException()

public OdpException()

Default constructor

OdpException(String message)

public OdpException(String message)

Constructor allowing a message to be added to this exception.

Parameters:

ParameterTypeDescription
messagejava.lang.Stringmessage

OdpException(String message, RuntimeException exception)

public OdpException(String message, RuntimeException exception)

Constructor for an exception containing a message and an embedded exception.

Parameters:

ParameterTypeDescription
messagejava.lang.Stringmessage
exceptionjava.lang.RuntimeExceptionoriginal exception