public void VisitPlSqlExceptionReference(OraclePlSqlExceptionReference exceptionReference)
        {
            if (exceptionReference.Exceptions.Count != 1)
            {
                return;
            }

            var exception             = exceptionReference.Exceptions.First();
            var initializationPostfix = exception.ErrorCode.HasValue ? $"(Error code {exception.ErrorCode})" : null;

            ToolTip =
                new ToolTipObject
            {
                DataContext = $"Exception {exception.Name.ToSimpleIdentifier()} {initializationPostfix}".TrimEnd()
            };
        }
예제 #2
0
		public void VisitPlSqlExceptionReference(OraclePlSqlExceptionReference exceptionReference)
		{
			if (exceptionReference.Exceptions.Count != 1)
			{
				return;
			}

			var exception = exceptionReference.Exceptions.First();
			var initializationPostfix = exception.ErrorCode.HasValue ? $"(Error code {exception.ErrorCode})" : null;

			ToolTip =
				new ToolTipObject
				{
					DataContext = $"Exception {exception.Name.ToSimpleIdentifier()} {initializationPostfix}".TrimEnd()
				};
		}