logging
Module Contents
alltypes
Module Contents
class
CordaErrorContextProvider
:
ErrorContextProvider
Module Contents
CordaErrorContextProvider
(
)
fun
getURL
(
locale
:
Locale
)
:
String
class
CordaVersion
Module Contents
CordaVersion
(
)
val
docsLink
:
String
fun
getVersion
(
)
:
Array
<
String
>
const
val
platformEditionCode
:
String
val
platformVersion
:
Int
val
releaseVersion
:
String
val
revision
:
String
val
vendor
:
String
class
DoubleInitializationException
:
ErrorReportingException
Module Contents
DoubleInitializationException
(
)
interface
ErrorCode
<
CODES
>
where
CODES
:
ErrorCodes
,
CODES
:
Enum
<
CODES
>
Module Contents
abstract
val
code
:
CODES
abstract
val
parameters
:
List
<
Any
>
interface
ErrorCodes
Module Contents
abstract
val
namespace
:
String
interface
ErrorContextProvider
Module Contents
abstract
fun
getURL
(
locale
:
Locale
)
:
String
class
ErrorReporting
Module Contents
ErrorReporting
(
)
fun
initialiseReporting
(
)
:
Unit
fun
usingResourcesAt
(
location
:
String
)
:
ErrorReporting
fun
withContextProvider
(
contextProvider
:
ErrorContextProvider
)
:
ErrorReporting
fun
withLocale
(
locale
:
String
)
:
ErrorReporting
abstract
class
ErrorReportingException
:
Exception
Module Contents
ErrorReportingException
(
message
:
String
,
cause
:
Throwable
?
=
null
)
class
ErrorResource
Module Contents
val
actionsToFix
:
String
val
aliases
:
String
fun
fromErrorCode
(
errorCode
:
ErrorCode
<
*
>
,
resourceLocation
:
String
,
locale
:
Locale
)
:
ErrorResource
fun
fromLoader
(
resource
:
String
,
classLoader
:
ClassLoader
,
locale
:
Locale
)
:
ErrorResource
fun
getErrorMessage
(
args
:
Array
<
Any
>
)
:
String
val
shortDescription
:
String
kotlin.Throwable
Module Contents
fun
Throwable
.
errorCode
(
hashedFields
:
(
Throwable
)
->
Array
<
out
Any
?
>
=
Throwable::defaultHashedFields
)
:
String
fun
Throwable
.
errorCodeLocationUrl
(
)
:
String
fun
Throwable
.
walkExceptionCausedByList
(
)
:
Iterator
<
Throwable
>
class
LocaleSettingUnsupportedException
:
ErrorReportingException
Module Contents
LocaleSettingUnsupportedException
(
)
class
NoContextProviderSuppliedException
:
ErrorReportingException
Module Contents
NoContextProviderSuppliedException
(
)
enum
class
NodeDatabaseErrors
:
ErrorCodes
Module Contents
COULD_NOT_CONNECT
FAILED_STARTUP
MISSING_DRIVER
val
namespace
:
String
PASSWORD_REQUIRED_FOR_H2
enum
class
NodeNamespaces
Module Contents
DATABASE
org.apache.logging.log4j.message.Message
Module Contents
fun
Message
.
withErrorCodeFor
(
error
:
Throwable
?
,
level
:
Level
)
:
Message
org.slf4j.Logger
Module Contents
fun
Logger
.
report
(
error
:
ErrorCode
<
*
>
)
:
Unit
class
ReportingUninitializedException
:
ErrorReportingException
Module Contents
ReportingUninitializedException
(
)
object
ResourceBundleProperties
Module Contents
const
val
ACTIONS_TO_FIX
:
String
const
val
ALIASES
:
String
const
val
MESSAGE_TEMPLATE
:
String
const
val
SHORT_DESCRIPTION
:
String
package
net.corda.common.logging
Module Contents
class
CordaVersion
Module Contents
CordaVersion
(
)
val
docsLink
:
String
fun
getVersion
(
)
:
Array
<
String
>
const
val
platformEditionCode
:
String
val
platformVersion
:
Int
val
releaseVersion
:
String
val
revision
:
String
val
vendor
:
String
kotlin.Throwable
Module Contents
fun
Throwable
.
errorCode
(
hashedFields
:
(
Throwable
)
->
Array
<
out
Any
?
>
=
Throwable::defaultHashedFields
)
:
String
fun
Throwable
.
errorCodeLocationUrl
(
)
:
String
fun
Throwable
.
walkExceptionCausedByList
(
)
:
Iterator
<
Throwable
>
org.apache.logging.log4j.message.Message
Module Contents
fun
Message
.
withErrorCodeFor
(
error
:
Throwable
?
,
level
:
Level
)
:
Message
package
net.corda.common.logging.errorReporting
Module Contents
class
CordaErrorContextProvider
:
ErrorContextProvider
Module Contents
CordaErrorContextProvider
(
)
fun
getURL
(
locale
:
Locale
)
:
String
class
DoubleInitializationException
:
ErrorReportingException
Module Contents
DoubleInitializationException
(
)
interface
ErrorCode
<
CODES
>
where
CODES
:
ErrorCodes
,
CODES
:
Enum
<
CODES
>
Module Contents
abstract
val
code
:
CODES
abstract
val
parameters
:
List
<
Any
>
interface
ErrorCodes
Module Contents
abstract
val
namespace
:
String
interface
ErrorContextProvider
Module Contents
abstract
fun
getURL
(
locale
:
Locale
)
:
String
class
ErrorReporting
Module Contents
ErrorReporting
(
)
fun
initialiseReporting
(
)
:
Unit
fun
usingResourcesAt
(
location
:
String
)
:
ErrorReporting
fun
withContextProvider
(
contextProvider
:
ErrorContextProvider
)
:
ErrorReporting
fun
withLocale
(
locale
:
String
)
:
ErrorReporting
abstract
class
ErrorReportingException
:
Exception
Module Contents
ErrorReportingException
(
message
:
String
,
cause
:
Throwable
?
=
null
)
class
ErrorResource
Module Contents
val
actionsToFix
:
String
val
aliases
:
String
fun
fromErrorCode
(
errorCode
:
ErrorCode
<
*
>
,
resourceLocation
:
String
,
locale
:
Locale
)
:
ErrorResource
fun
fromLoader
(
resource
:
String
,
classLoader
:
ClassLoader
,
locale
:
Locale
)
:
ErrorResource
fun
getErrorMessage
(
args
:
Array
<
Any
>
)
:
String
val
shortDescription
:
String
class
LocaleSettingUnsupportedException
:
ErrorReportingException
Module Contents
LocaleSettingUnsupportedException
(
)
class
NoContextProviderSuppliedException
:
ErrorReportingException
Module Contents
NoContextProviderSuppliedException
(
)
enum
class
NodeDatabaseErrors
:
ErrorCodes
Module Contents
COULD_NOT_CONNECT
FAILED_STARTUP
MISSING_DRIVER
val
namespace
:
String
PASSWORD_REQUIRED_FOR_H2
enum
class
NodeNamespaces
Module Contents
DATABASE
org.slf4j.Logger
Module Contents
fun
Logger
.
report
(
error
:
ErrorCode
<
*
>
)
:
Unit
class
ReportingUninitializedException
:
ErrorReportingException
Module Contents
ReportingUninitializedException
(
)
object
ResourceBundleProperties
Module Contents
const
val
ACTIONS_TO_FIX
:
String
const
val
ALIASES
:
String
const
val
MESSAGE_TEMPLATE
:
String
const
val
SHORT_DESCRIPTION
:
String