SCROLLErrors

scroll.internal.errors.SCROLLErrors
object SCROLLErrors

Object containing all SCROLL related error.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class CROMMetaModelLoadFailure() extends FormalModelError

Raised when the CROM meta-model cannot be loaded.

Raised when the CROM meta-model cannot be loaded.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ConcreteRelationshipMultiplicityViolation(relationshipName: String, expectedSize: Ordered[Int]) extends RelationshipError

Raised when a relationship expects an exact number of matches but gets a different size.

Raised when a relationship expects an exact number of matches but gets a different size.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait ConstraintError extends ValidationError

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class CyclicRolePlayingRelationshipForPlayer(player: AnyRef) extends GraphError

Raised when a specific player would become part of a cyclic role graph.

Raised when a specific player would become part of a cyclic role graph.

Attributes

Supertypes
trait Product
trait Equals
trait GraphError
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class CyclicRolePlayingRelationshipFound() extends GraphError

Raised when a role graph operation would introduce a cycle.

Raised when a role graph operation would introduce a cycle.

Attributes

Supertypes
trait Product
trait Equals
trait GraphError
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class DuplicateRoleGroup(groupName: String) extends RoleGroupError

Raised when a role group with the same name is registered more than once.

Raised when a role group with the same name is registered more than once.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class EmptyRelationshipMultiplicityViolation(relationshipName: String) extends RelationshipError

Raised when a relationship expects at least one match but none can be found.

Raised when a relationship expects at least one match but none can be found.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait FormalModelError extends RuntimeException

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait GraphError extends SCROLLError

Attributes

Supertypes
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class IllegalRoleInvocationDispatch(roleType: AnyRef, target: String, args: Seq[Any]) extends InvocationError

Attributes

Supertypes
trait Product
trait Equals
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class InvalidRoleGroupConstraint(groupName: String, min: Int, max: String) extends RoleGroupError

Raised when a role-group cardinality definition is not representable by the supported constraint kinds.

Raised when a role-group cardinality definition is not representable by the supported constraint kinds.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class InvalidRoleGroupEntry() extends RoleGroupError

Raised when a role-group definition contains unsupported entries.

Raised when a role-group definition contains unsupported entries.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class InvalidRolePlayer() extends PlayerError

Raised when something other than an object/player tries to participate in role playing.

Raised when something other than an object/player tries to participate in role playing.

Attributes

Supertypes
trait Product
trait Equals
trait PlayerError
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait InvocationError extends SCROLLError

Attributes

Supertypes
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class MissingRoleGroupConstraint(groupName: String, roleType: String) extends RoleGroupError

Raised when solving a role-group constraint references an unknown role type variable.

Raised when solving a role-group constraint references an unknown role type variable.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait PlayerError extends SCROLLError

Attributes

Supertypes
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class RangeRelationshipMultiplicityViolation(relationshipName: String, lowerBound: Ordered[Int], upperBound: String) extends RelationshipError

Raised when a relationship expects a bounded range of matches but gets a size outside that range.

Raised when a relationship expects a bounded range of matches but gets a size outside that range.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait ReflectionError extends SCROLLError

Attributes

Supertypes
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class ReflectiveFieldNotFound(owner: Class[_], fieldName: String) extends ReflectionError

Raised when reflective field lookup fails.

Raised when reflective field lookup fails.

Attributes

Supertypes
trait Product
trait Equals
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ReflectiveMethodNotFound(target: AnyRef, methodName: String) extends ReflectionError

Raised when reflective method lookup by name fails.

Raised when reflective method lookup by name fails.

Attributes

Supertypes
trait Product
trait Equals
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait RelationshipError extends ValidationError

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class RoleEquivalenceConstraintViolation(player: AnyRef, requiredRole: String) extends ConstraintError

Raised when an equivalence constraint requires another role that is currently missing.

Raised when an equivalence constraint requires another role that is currently missing.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait RoleGroupError extends ValidationError

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class RoleGroupInnerCardinalityViolation(groupName: String) extends RoleGroupError

Raised when the inner cardinality of a role group is violated by the current role assignments.

Raised when the inner cardinality of a role group is violated by the current role assignments.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RoleGroupOccurrenceCardinalityViolation(groupName: String, roleTypes: Seq[String], actual: Int, min: Int, max: String) extends RoleGroupError

Raised when the occurrence cardinality of a role group is outside the configured bounds.

Raised when the occurrence cardinality of a role group is outside the configured bounds.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RoleImplicationConstraintViolation(player: AnyRef, requiredRole: String) extends ConstraintError

Raised when a role implication constraint requires another role that is currently missing.

Raised when a role implication constraint requires another role that is currently missing.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RoleNotFound(forCore: AnyRef, target: String, args: Seq[Any]) extends SCROLLError

Attributes

Supertypes
trait Product
trait Equals
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RoleNotPlayedInCROI(role: AnyRef) extends FormalModelError

Raised when a CROI relationship references a role without a corresponding plays entry.

Raised when a CROI relationship references a role without a corresponding plays entry.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RoleProhibitionConstraintViolation(player: AnyRef, prohibitedRole: String) extends ConstraintError

Raised when a player holds a role that is forbidden by a prohibition constraint.

Raised when a player holds a role that is forbidden by a prohibition constraint.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RoleRestrictionViolation(player: AnyRef, role: AnyRef) extends ValidationError

Raised when a player attempts to play a role that is blocked by active role restrictions.

Raised when a player attempts to play a role that is blocked by active role restrictions.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait SCROLLError extends RuntimeException

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait TypeError extends SCROLLError

Attributes

Supertypes
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class TypeNotFound
final case class TypeNotFound(tpe: Class[_]) extends TypeError

Attributes

Supertypes
trait Product
trait Equals
trait TypeError
trait SCROLLError
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class UnsolvableRoleGroupConstraint(groupName: String) extends RoleGroupError

Raised when a role-group constraint model cannot be solved at all.

Raised when a role-group constraint model cannot be solved at all.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Raised when a relationship uses a multiplicity shape that is not supported by the runtime.

Raised when a relationship uses a multiplicity shape that is not supported by the runtime.

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait ValidationError extends RuntimeException

Base type for validation failures raised by constraints, restrictions, and role groups.

Base type for validation failures raised by constraints, restrictions, and role groups.

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes