Move class to the only place that uses it. (#2067)

This commit is contained in:
Andrzej Cichocki 2017-11-16 14:40:39 +00:00 committed by GitHub
parent 5bdbd2457a
commit 55bcf295ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -774,6 +774,7 @@ internal class FlowStarterImpl(private val serverThread: AffinityExecutor, priva
}
}
class ConfigurationException(message: String) : CordaException(message)
/**
* Thrown when a node is about to start and its network map cache doesn't contain any node.
*/

View File

@ -1,7 +1,6 @@
package net.corda.node.internal
import com.codahale.metrics.JmxReporter
import net.corda.core.CordaException
import net.corda.core.concurrent.CordaFuture
import net.corda.core.identity.CordaX500Name
import net.corda.core.internal.concurrent.openFuture
@ -318,6 +317,4 @@ open class Node(configuration: NodeConfiguration,
}
}
class ConfigurationException(message: String) : CordaException(message)
data class NetworkMapInfo(val address: NetworkHostAndPort, val legalName: CordaX500Name)