io.sarl.lang.core
Class OwnerNotFoundException
All Superinterfaces:
java.io.Serializable
class OwnerNotFoundException
extends java.lang.Object
Thrown when the owner of an AgentTrait cannot be found.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.12
Property Summary
Modifier and type Property and description
AgentTrait agentTrait
The agent trait at the source of the exception.
Constructor Summary
Constructor and description
new(AgentTrait)
Creates a new instance of the exception.
Action Summary
Modifier and type Action and description
AgentTrait getAgentTrait
The agent trait at the source of the exception.
Property Details
agentTrait
val agentTrait : AgentTrait
The agent trait at the source of the exception.

This property is an alias for the action: getAgentTrait

Returns:
the agent trait.
Constructor Details
new(AgentTrait)
new(AgentTrait)
Creates a new instance of the exception.
Parameters:
trait - the source of the exception.
Action Details
getAgentTrait
def getAgentTrait : AgentTrait
The agent trait at the source of the exception.
Returns:
the agent trait.