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 CouldNotGenerateException extends TraversorException

    Permalink

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

  4. 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

  5. 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

  6. class CouldNotVisitException extends TraversorException

    Permalink

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

  7. 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

  8. 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

  9. abstract class EmblemException extends Exception

    Permalink

    an exception thrown by emblem library

  10. abstract class EmblemInstanceBuilderException extends EmblemException

    Permalink

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

  11. 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

  12. abstract class EmblemPoolException extends EmblemException

    Permalink

    an exception thrown when constructing an EmblemPool

  13. abstract class EmblematicPropPathException extends EmblemException

    Permalink

    an exception thrown when constructing an EmblematicPropPath

  14. 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

  15. class EmptyPropPathException extends EmblematicPropPathException

    Permalink

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

  16. abstract class GeneratorException extends EmblemException

    Permalink

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

  17. 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

  18. 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

  19. 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

  20. abstract class ReflectiveException extends EmblemException

    Permalink

    an exception thrown from misuse of an Emblem or a Union

  21. class RequiredPropertyNotSetException extends EmblemInstanceBuilderException

    Permalink

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

  22. 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

  23. 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.

  24. abstract class UnionPoolException extends EmblemException

    Permalink

    an exception thrown when constructing a UnionPool

Ungrouped