Error 1340

"Type '%1' cannot be instantiated with %2 arguments (near '%3')"

Item Description

SQLCode

-1340L

Constant

METHOD_NO_CONSTRUCTOR_N_ARGS

SQLState

42X05

ODBC 2 State

S0002

ODBC 3 State

42S02

Sybase Error Code

3020

Severity Code

11

Parameter 1

The name of the type that cannot be instantiated.

Parameter 2

The number of arguments supplied.

Parameter 3

The invalid expression.

Probable cause

A NEW expression was used for a data type that does not define any constructor methods.


Created November 10, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com