Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3942462
InstanceNotFoundException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
806 B
Referenced Files
None
Subscribers
None
InstanceNotFoundException.php
View Options
<?php
namespace
Nasqueron\SAAS
;
use
Throwable
;
class
InstanceNotFoundException
extends
SaaSException
{
/**
* @var string
*/
private
$instance
;
/**
* @var string
*/
const
DEFAULT_MESSAGE
=
"The specified instance can't been found."
;
public
function
__construct
(
string
$instance
,
string
$message
=
""
,
int
$code
=
0
,
Throwable
$previous
=
null
)
{
$this
->
instance
=
$instance
;
if
(
$message
===
""
)
{
$message
=
self
::
DEFAULT_MESSAGE
;
}
parent
::
__construct
(
$message
,
$code
,
$previous
);
}
public
function
getInstance
()
:
string
{
return
$this
->
instance
;
}
public
function
setInstance
(
string
$instance
)
:
void
{
$this
->
instance
=
$instance
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 26, 16:28 (20 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315206
Default Alt Text
InstanceNotFoundException.php (806 B)
Attached To
Mode
rSAASSVC SaaS base entry point
Attached
Detach File
Event Timeline
Log In to Comment