Sign in
third-party-mirror
/
orbit
/
b80a455c0268d549edd5f71d1094a89297b72f72
/
.
/
qt-everywhere-src-5.14.1
/
qtdeclarative
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
tryStatement.1.qml
blob: 71cc67a941ccdc427a37c047790945e859a27825 [
file
] [
log
] [
blame
]
import
Qt
.
test
1.0
MyQmlObject
{
property
int
defaultValue
:
123
function
go
()
{
undefinedObject
.
method
()
// this call will throw an exception
return
321
}
value
:
try
{
go
()
}
catch
(
e
)
{
defaultValue
}
}