javax.faces.context.ExceptionHandler.getRootCause()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中javax.faces.context.ExceptionHandler.getRootCause()方法的一些代码示例,展示了ExceptionHandler.getRootCause()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExceptionHandler.getRootCause()方法的具体详情如下:
包路径:javax.faces.context.ExceptionHandler
类名称:ExceptionHandler
方法名:getRootCause

ExceptionHandler.getRootCause介绍

[英]Unwrap the argument t until the unwrapping encounters an Object whose getClass() is not equal to FacesException.class or javax.el.ELException.class. If there is no root cause, null is returned.
[中]

代码示例

代码示例来源:origin: com.sun.faces/jsf-api

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: javax.faces/javax.faces-api

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: eclipse-ee4j/mojarra

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

@Override
public Throwable getRootCause(Throwable t)
{
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: javax/javaee-web-api

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: org.glassfish/javax.faces

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: org.glassfish/jakarta.faces

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: eclipse-ee4j/mojarra

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * <p>The default behavior of this method is to
 * call {@link javax.faces.context.ExceptionHandler#getRootCause(Throwable)}
 * on the wrapped {@link ExceptionHandler} object.</p>
 *
 * @see javax.faces.context.ExceptionHandler#getRootCause(Throwable)
 */
@Override
public Throwable getRootCause(Throwable t) {
  return getWrapped().getRootCause(t);
}

相关文章