Hitachi

uCosminexus Application Server Definition Reference Guide


jvm.userprf.ThrowableNameEditMethod

Organization of this page

Format

jvm.userprf.ThrowableNameEditMethod={FRONT_CUT|BACK_CUT|CENTER_CUT}

Description

Specifies how to edit a class name when the exception or error class name exceeds 32 characters. If the exception or error class name is less than 32 characters, all the characters are output to the trace information regardless of the specification in this property.

Default value

jvm.userprf.ThrowableNameEditMethod=FRONT_CUT

Prerequisite property
  • jvm.userprf.Enable=true

  • jvm.userprf.ThrowableName=true

Argument

character-string

Specifies how to edit a class name when the exception or error class name exceeds 32 characters, using the following strings:

FRONT_CUT

The last 32 characters of the exception or error class name are output. Note that asterisk (*) indicating omission is added at the beginning of the characters.

BACK_CUT

The first 32 characters of the exception or error class name are output. Note that asterisk (*) indicating omission is added at the end of the characters.

CENTER_CUT

The first 16 characters and the last 16 characters of the exception or error class name are output. Note that asterisk (*) indicating omission is added between the first 16 and last 16 characters.

If strings other than those listed above are specified, the default value is used.

Examples of specification

The following is an example of specification when the first 32 characters of the exception class name or fully qualified class name are output to the operation information (OPR) in the trace information, when the processing terminates with an exception in which the package name is com.sample and the class name is Class0123456789012345678901234567890:

add.jvm.arg= -Djvm.userprf.ThrowableNameEditMethod=BACK_CUT

Depending on the value specified in the jvm.userprf.LogLevel property, the output in the operation information (OPR) of the trace information is as follows. For jvm.userprf.LogLevel properties, see jvm.userprf.LogLevel.

If class is specified:

Class012345678901234567890123456*

If package or method or signature is specified:

com.sample.Class0123456789012345*