Revision 1638f2dd

b/src/main/scala/gr/grnet/aquarium/logic/accounting/dsl/DSLCostPolicy.scala
107 107
      case b: Float if (b == 1) => OnResourceState
108 108
      case i: Int if (i == 0) => OffResourceState
109 109
      case j: Int if (j == 1) => OnResourceState
110
      case _ => throw new DSLParseException("Invalid resource state %s".format(name))
110
      case _ => throw new DSLParseException("Invalid OnOffPolicyResourceState %s".format(name))
111 111
    }
112 112
  }
113 113
}

Also available in: Unified diff