def fromXml()

in app/models/SanMount.scala [11:21]


  def fromXml(node:NodeSeq):Either[String, SanMount] = try {
    Right(new SanMount(
      node \@ "mountPath",
      node \@ "name",
      (node \@ "number").toInt
    ))
  } catch {
    case ex:Throwable=>
      logger.error("Could not create SAN mount information from xml: ", ex)
      Left(ex.toString)
  }