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

Constructor Description
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

Method Description
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:

Parameter Type Description
message java.lang.String A 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:

Parameter Type Description
message java.lang.String A string that describes the error.
innerException java.lang.RuntimeException The 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:

Parameter Type Description
message java.lang.String A string that describes the error.
reference java.lang.String An invalid cell reference.

getReference()

public final String getReference()

Gets an invalid cell reference.

Returns: java.lang.String