public class ExceptionTransformer extends Object
Constructor and Description |
---|
ExceptionTransformer() |
Modifier and Type | Method and Description |
---|---|
static String |
transformExceptionToHTML(Exception e,
boolean debugMode)
transforms the specified Exception into an HTML representation and returns it as a String.
|
public static String transformExceptionToHTML(Exception e, boolean debugMode)
e
- The Exception to transformdebugMode
- true
to activate the transformation into HTML, false
will print "Sorry, a server error occured!"Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.