Package

emblem

exceptions

Permalink

package exceptions

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. class CaseClassHasMultipleParamListsException extends GeneratorException

    Permalink

    this exception is thrown when a user tries to generate an Emblem for a case class that has multiple parameter lists.

    this exception is thrown when a user tries to generate an Emblem for a case class that has multiple parameter lists.

    Emblem generation for non-case class types may be supported in the future. these types would have to meet some other criteria, to assure that we can construct properties and builders in a well-behaved manner.

  2. class CaseClassIsInnerClassException extends GeneratorException

    Permalink

    this exception is thrown when a user tries to generate an Emblem for an inner case class.

    this exception is thrown when a user tries to generate an Emblem for an inner case class. an inner type is a type that belongs to an instance variable, such as B in the following example:

    class A { case class B(i: Int) }
    val a1 = new A
    val a2 = new A
    import scala.reflect.runtime.universe.typeOf
    typeOf[a1.B] =:= typeOf[a2.B] // evaluates to false

    Emblem generation for inner classes may be supported in the future.

  3. class ConstituentPropTypeMismatchException extends GeneratorException

    Permalink

    an exception indicating you broke the contract of one of the emblem.emblematic.Emblem or emblem.emblematic.Union factory methods

  4. class CouldNotGenerateException extends TraversorException

    Permalink

    an exception thrown when TestDataGenerator cannot generate requested data due to encountering an unsupported type

  5. class CouldNotTransformException extends TraversorException

    Permalink

    an exception thrown when an asynchronous Transformer or a synchronous Transformer cannot transform requested data due to encountering an unsupported type

  6. class CouldNotTraverseException extends TraversorException

    Permalink

    an exception thrown when an asynchronous Traversor or a synchronous Traversor cannot visit requested data due to encountering an unsupported type

  7. class CouldNotVisitException extends TraversorException

    Permalink

    an exception thrown when a Visitor cannot visit requested data due to encountering an unsupported type

  8. class DuplicateEmblemsException extends EmblemPoolException

    Permalink

    An exception that is thrown on attempt to construct a EmblemPool with more than one Emblem for the same type

  9. class DuplicateUnionsException extends UnionPoolException

    Permalink

    An exception that is thrown on attempt to construct a UnionPool with more than one Union for the same type

  10. abstract class EmblemException extends Exception

    Permalink

    an exception thrown by emblem library

  11. abstract class EmblemInstanceBuilderException extends EmblemException

    Permalink

    an exception indicating a failure to build an instance with an Emblem.InstanceBuilder

  12. class EmblemNotComposedOfBasicsException[A] extends EmblemException

    Permalink

    an exception thrown when the user attempts to build an emblem.emblematic.EmblematicPropPath where one of the intermediate steps in the specified path is something that is not covered by the emblem.emblematic.Emblematic

  13. abstract class EmblemPoolException extends EmblemException

    Permalink

    an exception thrown when constructing an EmblemPool

  14. abstract class EmblematicPropPathException extends EmblemException

    Permalink

    an exception thrown when constructing an EmblematicPropPath

  15. class EmblematicPropPathTypeMismatchException extends EmblematicPropPathException

    Permalink

    an exception thrown when the user attempts to build an EmblematicPropPath with a specified type, but the actual type of the path is something else

  16. class EmptyPropPathException extends EmblematicPropPathException

    Permalink

    an exception thrown when the user attempts to build an EmblematicPropPath with an empty path

  17. abstract class GeneratorException extends EmblemException

    Permalink

    an exception indicating you broke the contract of one of the emblem.emblematic.Emblem or emblem.emblematic.Union factory methods

  18. class InstanceNotInUnionException[A] extends EmblemException

    Permalink

    an exception thrown when the user attempts to use a emblem.emblematic.Union on an instance that is properly typed for the Union, but whose type was not declared as a constituent when the Union was constructed

    an exception thrown when the user attempts to use a emblem.emblematic.Union on an instance that is properly typed for the Union, but whose type was not declared as a constituent when the Union was constructed

    A

    the union type

  19. class NoSuchPropertyException extends ReflectiveException

    Permalink

    an exception thrown when attempting to retrieve a property by name from an Emblem or a Union that doesn't exist

  20. class NonEmblematicInPropPathException[A] extends EmblematicPropPathException

    Permalink

    an exception thrown when the user attempts to build an emblem.emblematic.EmblematicPropPath where one of the intermediate steps in the specified path is something that is not covered by the emblem.emblematic.Emblematic

  21. abstract class ReflectiveException extends EmblemException

    Permalink

    an exception thrown from misuse of an Emblem or a Union

  22. class RequiredPropertyNotSetException extends EmblemInstanceBuilderException

    Permalink

    an exception thrown by Emblem.InstanceBuilder.build when a required property was not set by Emblem.InstanceBuilder.setProp

  23. abstract class TraversorException extends EmblemException

    Permalink

    an exception thrown by a emblem.emblematic.traversors.async.Traversor, or one of its cousins in the emblem.emblematic.traversors package

  24. class TypeIsNotCaseClassException extends GeneratorException

    Permalink

    this exception is thrown when a user tries to generate an Emblem for a type that is not a case class.

    this exception is thrown when a user tries to generate an Emblem for a type that is not a case class.

    Emblem generation for non-case class types may be supported in the future. these types would have to meet some other criteria, to assure that we can construct properties and builders in a well-behaved manner.

  25. abstract class UnionPoolException extends EmblemException

    Permalink

    an exception thrown when constructing a UnionPool

Ungrouped