CellInvalidReferenceException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.slides.OOXMLException, com.aspose.slides.PptxException, com.aspose.slides.PptxEditException

public class CellInvalidReferenceException extends PptxEditException

The exception that is thrown when an invalid cell reference is encountered.

Constructors

ConstructorDescription
CellInvalidReferenceException()Initializes a new instance of the CellInvalidReferenceException class.
CellInvalidReferenceException(String message)Initializes a new instance of the CellInvalidReferenceException class with a specified error message.
CellInvalidReferenceException(String message, RuntimeException innerException)Initializes a new instance of the CellInvalidReferenceException class with a specified error message and a reference to the inner exception that is the cause of this exception.
CellInvalidReferenceException(String message, String reference)Initializes a new instance of the CellCircularReferenceException class with a specified error message and an invalid cell reference.

Methods

MethodDescription
getReference()Gets an invalid cell reference.

CellInvalidReferenceException()

public CellInvalidReferenceException()

Initializes a new instance of the CellInvalidReferenceException class.

CellInvalidReferenceException(String message)

public CellInvalidReferenceException(String message)

Initializes a new instance of the CellInvalidReferenceException class with a specified error message.

Parameters:

ParameterTypeDescription
messagejava.lang.StringA string that describes the error.

CellInvalidReferenceException(String message, RuntimeException innerException)

public CellInvalidReferenceException(String message, RuntimeException innerException)

Initializes a new instance of the CellInvalidReferenceException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

ParameterTypeDescription
messagejava.lang.StringA string that describes the error.
innerExceptionjava.lang.RuntimeExceptionThe exception that is the cause of the current exception.

CellInvalidReferenceException(String message, String reference)

public CellInvalidReferenceException(String message, String reference)

Initializes a new instance of the CellCircularReferenceException class with a specified error message and an invalid cell reference.

Parameters:

ParameterTypeDescription
messagejava.lang.StringA string that describes the error.
referencejava.lang.StringAn invalid cell reference.

getReference()

public final String getReference()

Gets an invalid cell reference.

Returns: java.lang.String