From 42ccf462e3ca46b532e3d3ad8cef0c7faf1f2a56 Mon Sep 17 00:00:00 2001 From: Marco Zanon Date: Thu, 22 Oct 2015 13:25:19 +0000 Subject: [PATCH] Renamed MXhtmlUnsafeStringTextException to MXhtmlUnsafeStringException. --- 4.x/src/java/com/marcozanon/macaco/text/MText.java | 4 ++-- ...Exception.java => MXhtmlUnsafeStringException.java} | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) rename 4.x/src/java/com/marcozanon/macaco/text/{MXhtmlUnsafeStringTextException.java => MXhtmlUnsafeStringException.java} (51%) diff --git a/4.x/src/java/com/marcozanon/macaco/text/MText.java b/4.x/src/java/com/marcozanon/macaco/text/MText.java index e33d778..7b5fd84 100644 --- a/4.x/src/java/com/marcozanon/macaco/text/MText.java +++ b/4.x/src/java/com/marcozanon/macaco/text/MText.java @@ -363,7 +363,7 @@ public class MText extends MObject { return text; } - public static String getXhtmlSafeString(String x) throws MXhtmlUnsafeStringTextException { + public static String getXhtmlSafeString(String x) throws MXhtmlUnsafeStringException { if (null == x) { return null; } @@ -426,7 +426,7 @@ public class MText extends MObject { catch (ParserConfigurationException exception) { // cannot happen } catch (SAXException exception) { - throw new MXhtmlUnsafeStringTextException("Invalid 'x': unsafe tags or attributes inside.", exception); + throw new MXhtmlUnsafeStringException("Invalid 'x': unsafe tags or attributes inside.", exception); } catch (UnsupportedEncodingException exception) { // cannot happen } diff --git a/4.x/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringTextException.java b/4.x/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringException.java similarity index 51% rename from 4.x/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringTextException.java rename to 4.x/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringException.java index bbfdf45..e5a2361 100644 --- a/4.x/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringTextException.java +++ b/4.x/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringException.java @@ -7,23 +7,23 @@ package com.marcozanon.macaco.text; @SuppressWarnings("serial") -public class MXhtmlUnsafeStringTextException extends MTextException { +public class MXhtmlUnsafeStringException extends MTextException { /* */ - public MXhtmlUnsafeStringTextException() { + public MXhtmlUnsafeStringException() { super(); } - public MXhtmlUnsafeStringTextException(String message) { + public MXhtmlUnsafeStringException(String message) { super(message); } - public MXhtmlUnsafeStringTextException(Throwable error) { + public MXhtmlUnsafeStringException(Throwable error) { super(error); } - public MXhtmlUnsafeStringTextException(String message, Throwable error) { + public MXhtmlUnsafeStringException(String message, Throwable error) { super(message, error); } -- 2.30.2