Package

emblem

exceptions

Permalink

package exceptions

Content Hierarchy Learn more about scaladoc diagrams
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 or an Extractor for a case class that has multiple parameter lists.

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

    Emblem and Extractor 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 CaseClassHasMultipleParamsException extends GeneratorException

    Permalink

    this exception is thrown when a user tries to generate an Extractor for a case class that has multiple parameters.

    this exception is thrown when a user tries to generate an Extractor for a case class that has multiple parameters. this might be supported in the future, under certain criteria. for instance, we should be able to generate an Extractor in the case where all but one of the parameters have default values.

  3. class CaseClassIsInnerClassException extends GeneratorException

    Permalink

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

    this exception is thrown when a user tries to generate an Emblem or an Extractor 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 and Extractor generation for inner classes may be supported in the future.

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

  9. class DuplicateExtractorsException extends ExtractorPoolException

    Permalink

    an exception that is thrown on attempt to construct a ExtractorPool with more than one Extractor for the same Range type.

  10. abstract class EmblemException extends Exception

    Permalink

    an exception thrown by emblem library

  11. abstract class EmblemPoolException extends EmblemException

    Permalink

    an exception thrown when constructing an EmblemPool

  12. abstract class EmblemPropPathException extends EmblemException

    Permalink

    an exception thrown when constructing an EmblemPropPath

  13. class EmblemPropPathTypeMismatchException extends EmblemPropPathException

    Permalink

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

  14. class EmptyPropPathException extends EmblemPropPathException

    Permalink

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

  15. class ExtractorInverseException extends TraversorException

    Permalink

    an exception thrown by a Traversor, or one of its cousins in the emblem.traversors package, when invoking emblem.Extractor.inverse throws exception

  16. abstract class ExtractorPoolException extends EmblemException

    Permalink

    an exception thrown when constructing an ExtractorPool

  17. abstract class GeneratorException extends EmblemException

    Permalink

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

  18. abstract class HasEmblemBuilderException extends EmblemException

    Permalink

    an exception indicating a failure to build a HasEmblem with a HasEmblemBuilder

  19. class NoSuchPropertyException extends EmblemException

    Permalink
  20. class NonEmblemInPropPathException[A] extends EmblemPropPathException

    Permalink

    an exception thrown when the user attempts to build an EmblemPropPath where one of the intermediate steps in the specified path is not something that extends HasEmblem

  21. class RequiredPropertyNotSetException extends HasEmblemBuilderException

    Permalink

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

  22. abstract class TraversorException extends EmblemException

    Permalink

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

  23. class TypeIsNotCaseClassException extends GeneratorException

    Permalink

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

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

    Emblem and Extractor 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. class UnexpectedDomainTypeException extends GeneratorException

    Permalink

    an exception thrown when the Domain type supplied to emblem.Extractor does not match the type of the single parameter of the Range case class

Ungrouped