All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scalatra.swagger.reflect.package.scala Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package org.scalatra.swagger

package object reflect {

  private[reflect] val ConstructorDefault = "$lessinit$greater$default"
  private[reflect] val ModuleFieldName = "MODULE$"
  private[reflect] val ClassLoaders = Vector(getClass.getClassLoader)

  def fail(msg: String, cause: Exception = null) = {
    if (cause != null) {
      System.err.println(msg)
      throw cause
    } else sys.error(msg)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy