Searched refs:rootCause (Results 1 - 25 of 26) sorted by relevance

12

/glassfish-3.1.2/common/glassfish-api/src/main/java/com/sun/appserv/server/
H A DServerLifecycleException.java68 * @param rootCause Throwable that caused this exception
70 public ServerLifecycleException(Throwable rootCause) { argument
71 super(rootCause);
79 * @param rootCause Throwable that caused this exception
81 public ServerLifecycleException(String message, Throwable rootCause) { argument
82 super(message, rootCause);
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/
H A DServiceEngineException.java63 Throwable rootCause = jmxEx;
64 Throwable cause = rootCause;
73 rootCause = cause.getCause();
74 cause = rootCause;
76 if ( rootCause instanceof ServiceEngineException ){
77 return (ServiceEngineException) rootCause;
79 return new ServiceEngineException(rootCause);
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DExceptionUtil.java67 final Throwable rootCause = getRootCause(t);
69 return rootCause.getClass().getName() + ": " +
70 StringUtil.quote(rootCause.getMessage()) + SEP +
71 getStackTrace(rootCause);
128 final Throwable rootCause = getRootCause(t);
130 final String classname = rootCause.getClass().getName();
134 if (isAcceptableOverTheWire(rootCause))
136 m.put(EXCEPTION_KEY, rootCause);
139 String msg = rootCause.getMessage();
147 m.put(STACK_TRACE_KEY, rootCause
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/logger/
H A DLoggerBase.java221 Throwable rootCause = null;
223 rootCause = ((LifecycleException) throwable).getCause();
225 rootCause = ((ServletException) throwable).getRootCause();
226 if (rootCause != null) {
228 rootCause.printStackTrace(writer);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/
H A DInvokerServlet.java431 Throwable rootCause = e.getRootCause();
432 if (rootCause == null)
433 rootCause = e;
434 if (rootCause instanceof ClassNotFoundException) {
444 } else if (rootCause instanceof IOException) {
445 throw (IOException) rootCause;
446 } else if (rootCause instanceof RuntimeException) {
447 throw (RuntimeException) rootCause;
448 } else if (rootCause instanceof ServletException) {
449 throw (ServletException) rootCause;
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DConfigMgrTestBase.java110 final Throwable rootCause = ExceptionUtil.getRootCause(e);
111 if (!(rootCause instanceof IllegalArgumentException)) {
112 warning("expecting IllegalArgumentException, got: " + rootCause.getClass().getName() +
113 ", msg = " + rootCause.getMessage());
114 rootCause.printStackTrace();
118 final Throwable rootCause = ExceptionUtil.getRootCause(t);
119 warning("expecting IllegalArgumentException, got: " + ExceptionUtil.toString(rootCause));
H A DResourceConfigTestBase.java71 final Throwable rootCause = ExceptionUtil.getRootCause(e);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/valves/
H A DErrorReportValve.java280 Throwable rootCause = null;
285 rootCause = ((ServletException) throwable).getRootCause();
320 throwable, rootCause,
400 Throwable rootCause,
511 while (rootCause != null) {
514 .getPartialServletStackTrace(rootCause);
518 sb.append(sm.getString("errorReportValve.rootCause"));
521 sb.append(sm.getString("errorReportValve.rootCause",
534 sb.append(RequestUtil.filter(String.valueOf(rootCause)));
541 rootCause
397 makeErrorPage(int statusCode, String message, Throwable throwable, Throwable rootCause, String report, HttpServletResponse response) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/logger/
H A DLoggerBase.java345 Throwable rootCause = null;
347 rootCause = ((LifecycleException) throwable).getCause();
349 rootCause = ((ServletException) throwable).getRootCause();
350 if (rootCause != null) {
352 rootCause.printStackTrace(writer);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DProxyTest.java227 final Throwable rootCause = ExceptionUtil.getRootCause(t);
228 final String rootTrace = ExceptionUtil.getStackTrace(rootCause);
229 final Class rootCauseClass = rootCause.getClass();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DStandardWrapperValve.java329 Throwable rootCause = StandardWrapper.getRootCause(e);
330 if (!(rootCause instanceof ClientAbortException)) {
332 wrapper.getName()), rootCause);
H A DStandardWrapper.java876 Throwable rootCause = e;
878 // Extra aggressive rootCause finding
882 rootCauseCheck = rootCause.getCause();
884 rootCause = rootCauseCheck;
886 return rootCause;
H A DApplicationDispatcher.java837 Throwable rootCause = StandardWrapper.getRootCause(e);
838 if (!(rootCause instanceof ClientAbortException)) {
840 wrapper.getName()), rootCause);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/
H A DTestMain.java200 final Throwable rootCause = ExceptionUtil.getRootCause(t);
202 if (rootCause instanceof java.net.ConnectException) {
205 System.err.println("\nERROR: exception of type: " + rootCause.getClass().getName());
206 rootCause.printStackTrace();
403 final Throwable rootCause = ExceptionUtil.getRootCause(e);
405 if (rootCause instanceof java.net.ConnectException) {
406 println("ConnectException: " + rootCause.getMessage() +
H A DAMXTestBase.java498 final Throwable rootCause = getRootCause(e);
501 rootCause.getClass().getName() + ", msg = " + rootCause.getMessage());
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/
H A DAMXStartupService.java267 final Throwable rootCause = ExceptionUtil.getRootCause(e);
268 ImplUtil.getLogger().log(Level.INFO, "Fatal error loading AMX DomainRoot", rootCause);
269 throw new RuntimeException(rootCause);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DGenericTest.java151 final Throwable rootCause = ExceptionUtil.getRootCause(e);
153 if (rootCause != e) {
155 rootCause.getMessage();
159 msg = msg + "\n" + ExceptionUtil.getStackTrace(rootCause);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/monitor/
H A DMonitorTest.java322 final Throwable rootCause = ExceptionUtil.getRootCause(e);
326 rootCause.getClass().getName() + "\n" +
358 final Throwable rootCause = ExceptionUtil.getRootCause(e);
362 rootCause.getClass().getName());
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DNodeUtils.java539 Throwable rootCause = ExceptionUtil.getRootCause(
541 if (rootCause != null && StringUtils.ok(rootCause.getMessage())) {
542 report.setMessage(rootCause.getMessage());
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/j2ee/
H A DJ2EETest.java284 final Throwable rootCause = ExceptionUtil.getRootCause(e);
288 rootCause.getClass().getName());
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DAMXImplBase.java463 final Throwable rootCause = ExceptionUtil.getRootCause(t);
464 if(rootCause.getMessage() != null && rootCause.getMessage().contains("Failed to retrieve RMIServer stub:")) {
466 } else if (rootCause instanceof AttributeNotFoundException) {
467 throw (AttributeNotFoundException) rootCause;
471 " of MBean " + getObjectName() + "[" + rootCause.getMessage() + "]";
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/
H A DLoggingImpl.java767 final Throwable rootCause = ExceptionUtil.getRootCause( thrown );
768 if ( rootCause != thrown )
770 final Throwable mappedRootCause = new ThrowableMapper( rootCause ).map();
/glassfish-3.1.2/tests/quicklook/amx/src/test/amx/
H A DAMXProxyTests.java451 final Throwable rootCause = ExceptionUtil.getRootCause(t);
452 problems.add( rootCause.getMessage() );
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/proxy/
H A DProxyFactory.java571 final Throwable rootCause = ExceptionUtil.getRootCause(e);
572 if ( ! ( rootCause instanceof InstanceNotFoundException) )
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DAMXConfigImpl.java242 final Throwable rootCause = ExceptionUtil.getRootCause(e);
243 throw new AttributeNotFoundException( ExceptionUtil.toString(rootCause) );
279 final Throwable rootCause = ExceptionUtil.getRootCause(e);
282 throw new Exception( ExceptionUtil.toString(rootCause) );

Completed in 55 milliseconds

12