Returns a textual representation of the status code.
<p>

@return short description of status as string
979214
public String getStatusString()
	{
		switch (status) {
		case ErrorCodes.NO_ERROR:
			return "connection state is normal";
		case ErrorCodes.CONNECTION_ID:
			return "server could not find active data connection with specified ID";
		case ErrorCodes.DATA_CONNECTION:
			return "server detected error concerning the data connection";
		case ErrorCodes.KNX_CONNECTION:
			return "server detected error concerning the KNX bus/subsystem connection";
		default:
			return "unknown status";
		}
	}
1293336
public String getCurrentNavText() {

        try {
            String navText = getCms().readPropertyObject(
                getParamResource(),
                CmsPropertyDefinition.PROPERTY_NAVTEXT,
                false).getValue();
            if (navText == null) {
                navText = "";
            }
            return CmsEncoder.escapeXml(navText);
        } catch (CmsException e) {
            // can usually be ignored
            if (LOG.isInfoEnabled()) {
                LOG.info(e.getLocalizedMessage());
            }
            return "";
        }

    }
511185
public String getMessage() {
        String message = super.getMessage();
        if (m_iErrorCode != -1)
            message = message + " Error code: " + m_iErrorCode;
        return message;
    }
814557
@Override
    public String getMessage() {
        return new StringBuilder()
                .append("Request [").append(requestMethod.toString()).append("] ")
                .append("to URL: ").append(requestUri).append(" has failed with ")
                .append("Status code: ")
                .append(statusCode).append('\n')
                .append("Status message: ")
                .append(statusMessage).append('\n')
                .append("Content: '").append(content).append('\'')
                .toString();
    }
573752
public String message(TPSReportStatus status) {
        return status.match(new TPSReportStatus.MatchBlock<String>() {
            @Override
            public String _case(Pending x) {
                return "Pending";
            }

            @Override
            public String _case(Approved x) {
                return "Approved by " + x.approver;
            }

            @Override
            public String _case(Denied x) {
                return "Denied by " + x.rejector;
            }
        });
    }
258746
public String getPrintStructure() {

        if (getRawContent().hasLocale(m_requestedLocale)) {
            List<I_CmsXmlContentValue> values = new ArrayList<I_CmsXmlContentValue>(
                getRawContent().getValues(m_requestedLocale));
            Collections.sort(values, new Comparator<I_CmsXmlContentValue>() {

                public int compare(I_CmsXmlContentValue arg0, I_CmsXmlContentValue arg1) {

                    return arg0.getPath().compareTo(arg1.getPath());
                }
            });

            StringBuffer buffer = new StringBuffer("<ul>\n");
            for (I_CmsXmlContentValue value : values) {
                buffer.append("<li>").append(value.getPath()).append("</li>\n");
            }
            buffer.append("</ul>");
            return buffer.toString();
        } else {
            return "";
        }
    }
1280719
public String getReason()
    {
        if (_reason!=null)
            return _reason;
        _reason=(String)__statusMsg.get(TypeUtil.newInteger(_status));
        if (_reason==null)
            _reason="unknown";
        return _reason;
    }
773810
public static String stringify(final ResponseStatus status, final ResponseStatusDetails details) {
        String result = status.toString();
        if (details != null) {
            result = result + " (Context: " + details.context() + ", Reference: " + details.reference() + ")";
        }
        return result;
    }
279501
public String getStatistics() {
        StringBuilder sb = new StringBuilder();
        
        for(String key : stats.keySet()) {
            sb.append(key);
            sb.append(": ");
            sb.append(stats.get(key));
            sb.append("\n");
        }
        
        return sb.toString();
    }
844853
public function getStatusLine() : string
    {
        return sprintf('HTTP/%s %s %s', self::HTTP_VERSION, $this->statusCode, self::getStatusText($this->statusCode));
    }
271499
public static String getStatusAsString(int status) {
	if (status == STATUS_PENDING) {
	    return "PENDING";
	} else if (status == STATUS_ACTIVE) {
	    return "ACTIVE";
	} else if (status == STATUS_DONE) {
	    return "DONE";
	} else if (status == STATUS_FAILED) {
	    return "FAILED";
	} else if (status == STATUS_SUSPENDED) {
	    return "SUSPENDED";
	} else if (status == STATUS_UNSUBMITTED) {
	    return "UNSUBMITTED";
	} else if (status == STATUS_STAGE_IN) {
	    return "STAGE_IN";
	} else if (status == STATUS_STAGE_OUT) {
	    return "STAGE_OUT";
	}
	return "Unknown";
    }
1207206
public String getMessage() 
   {
      String msg = super.getMessage();
      String ec = getErrorCode();
      if ((msg == null) && (ec == null)) 
      {
         return null;
      }
      if ((msg != null) && (ec != null)) 
      {
         return (msg + ", error code: " + ec);
      }
      return ((msg != null) ? msg : ("error code: " + ec));
   }
511910
@Override
    public String getMessage() {
        StringBuilder builder = new StringBuilder( super.getMessage() );
        for( LessFilePosition pos : positions ) {
            builder.append( "\n\t on line " ).append( pos.getLine() ).append( ", column " ).append( pos.getColumn() );
            if( pos.getFilename() != null ) {
                builder.append( ", file " ).append( pos.getFilename() );
            }
        }
        return builder.toString();
    }
459592
public String getStatisticsString() {
    StringBuffer sb = new StringBuffer();
    String opCodeName; 
    for(Byte opCode = -1; opCode < 15; opCode++) {
      switch (opCode) {
        case -1:
          opCodeName = "OP_INVALID";
          break;
        case 0:
          opCodeName = "OP_ADD";
          break;
        case 1:
          opCodeName = "OP_RENAME";
          break;
        case 2:
          opCodeName = "OP_DELETE";
          break;
        case 3:
          opCodeName = "OP_MKDIR";
          break;
        case 4:
          opCodeName = "OP_SET_REPLICATION";
          break;
        case 5:
          opCodeName = "OP_DATANODE_ADD";
          break;
        case 6:
          opCodeName = "OP_DATANODE_REMOVE";
          break;
        case 7:
          opCodeName = "OP_SET_PERMISSIONS";
          break;
        case 8:
          opCodeName = "OP_SET_OWNER";
          break;
        case 9:
          opCodeName = "OP_CLOSE";
          break;
        case 10:
          opCodeName = "OP_SET_GETSTAMP";
          break;
        case 11:
          opCodeName = "OP_SET_NS_QUOTA";
          break;
        case 12:
          opCodeName = "OP_CLEAR_NS_QUOTA";
          break;
        case 13:
          opCodeName = "OP_TIMES";
          break;
        case 14:
          opCodeName = "OP_SET_QUOTA";
          break;
        case 16:
          opCodeName = "OP_CONCAT_DELETE";
          break;
        default:
          opCodeName = "UNSUPPORTED OP";
          break;
      }
      sb.append(String.format(
        "    %-30.30s (%3d): %d%n",
        opCodeName,
        opCode,
        opCodeCount.get(opCode)));
    }
    return sb.toString();
  }
105813
public String getTitle() {

        CmsSitemapData data = getSitemapData();
        String folderTitle = "";
        if (data != null) {
            folderTitle = getSitemapData().getOpenPath();
            CmsClientSitemapEntry root = getSitemapData().getRoot();
            if (root != null) {
                CmsClientProperty titleProp = root.getOwnProperties().get(CmsPropertyDefinition.PROPERTY_TITLE);
                if ((titleProp != null) && !titleProp.isEmpty()) {
                    folderTitle = root.getOwnProperties().get(CmsPropertyDefinition.PROPERTY_TITLE).getEffectiveValue();
                } else {
                    folderTitle = root.getName();
                }
            }
        }
        return Messages.get().getBundle(getWorkplaceLocale()).key(Messages.GUI_EDITOR_TITLE_1, folderTitle);
    }
598714
public String toMutilLineString() {
		final String newLine = System.getProperty("line.separator");
		final StringBuffer problemStr = new StringBuffer();
		for (final Problem problem : this.problems) {
			problemStr.append(problem.getMessage() + newLine);
		}
		return problemStr.toString();
	}
1080106
public short getLowestMessagePriority()
   {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getLowestMessagePriority");
      
      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "Current state = " + state);
      
      final short result;
      if (state == ResourceState.JOINED)
      {
         result = joinedResource.getLowestMessagePriority();
      }
      else
      {
         result = super.getLowestMessagePriority();
      }
      
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getLowestMessagePriority", result);
      return result;
   }